private string ResolvePath(string url)
{
if (!url.StartsWith(rootUrl, StringComparison.OrdinalIgnoreCase))
{
throw new StorageException(string.Format("RootUrl [{0}] must match for the url [{1}]", rootUrl, url));
}
return url.Substring(rootUrl.Length);
}