private static string GetPathWithoutAppPath()
{
//if ApplicationPath.Length == 1 then it must be "/" which we don't want to remove
string appPath = HttpContext.Current.Request.ApplicationPath;
string filePath = HttpContext.Current.Request.FilePath;
return (appPath.Length == 1) ? filePath : filePath.Remove(0, appPath.Length);
}