public ActionResult <HttpResponseMessage> GetDoc(string location) { var doc = docs.GetDoc(location); if (doc == null) { return(NotFound()); } return(DownloadFile(doc)); }