title: Return image from file system
body: <p>There is successfully uploaded image in file system and I want to get access to it. So, I have written <code>GET</code>-method</p>
  
  <pre><code>[HttpGet]
  public ActionResult Get(string id) {
      var path = $@"d:\smth\upload\{id}.jpeg";
      return File(path, "image/jpeg");
  }
  </code></pre>
  
  <p>I'm totally sure that there is the file in required path with required name, but anytime a try to create <code>File(path, "image/jpeg")</code> I get <code>Could no find file</code> exception. Seems like i dont have access to folders outside <code>wwwroot</code>. Maybe I have missed something important from <a href="https://docs.asp.net/en/latest/fundamentals/static-files.html" rel="nofollow">working with static file article</a>?</p>
  
  <p>So, could anyone explain how to return image that stored in file system outside web-server folder via <code>GET</code>-method</p>