// http://richardssoftware.net/Home/Post/61 public static Response FromPartialFile(this IResponseFormatter f, Request req, string path, string contentType) { return(f.FromPartialStream(req, new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read), contentType)); }