title: Reading from a file in Xamarin.Android project
body: <p>I'm trying to access a .pbf file from the MainActivity class in an Xamarin Android. I tried adding the file to a new Maps folder, I also tried adding it to the Assets and Resources folders. </p>
  
  <p>I've tried setting them with different build actions. However this error is always generated... "System.IO.FileNotFoundException: Could not find file"</p>
  
  <pre><code>using (var inputStream = 
     new FileInfo(@"Resources\ireland.osm.pbf").OpenRead())
  {
  ...
  }
  </code></pre>
  
  <p>How should the file be added to the project and accessed using FileInfo?</p>