title: Unable to read file from the Downloads folder for an android app
body: <p>I want to create an inputstream for a file that is stored in the Downloads folder of my phone.
  Earlier I had the required file as an asset and I read it with this code:</p>
  
  <pre><code>InputStream fin;
  fin = getAssets().open(FILENAME);
  </code></pre>
  
  <p>However now I want to be able to open a file stored in my downloads folder <code>/mnt/sdcard/Download</code> as an InputStream <strong>NOT</strong> as a FileInputStream Object. I am using a library which requires an InputStream only as an argument so I can not use the FileInputStream
  methods because I get a <code>fatal exception</code> if I do and the App stops.</p>
  
  <p>How do I go about this? I tried to find some helper function from the documentation, but could not.</p>
  
  <p>Edit: I also tried editing the code to this-</p>
  
  <pre><code>String path = "/mnt/sdcard/Download"+FILENAME;
  fin = new BufferedInputStream(new FileInputStream(path));
  </code></pre>
  
  <p>However still when I try to read the file, the App crashes.</p>