File Stream C#

using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Reflection;
using System.Xml;
using System.Web;
/// 
/// Common utility functions.
/// 

public static class Util
{
    /// 
    /// Gets the path of the current request relative to the application base path.
    /// 

    public static string RelativePath(HttpContext context)
    {
        if (context.Request.ApplicationPath == "/")
        {
            return context.Request.Path;
        }
        else
        {
            return context.Request.Path.Substring(context.Request.ApplicationPath.Length);
        }
    }
}