title: Check if a file exists before calling openFileInput
body: <p>To read a file in Android from your app's private storage area you use the function<code>openFileInput()</code>.  </p>
  
  <p>My question is, is there a way to check if this file exists before calling this function?  The function can throw a <code>FileNotFoundException</code>, but I feel like calling this and then doing something based on a <code>try</code>-<code>catch</code> is a bad practice.</p>
  
  <p>Using <code>File.exist()</code> seems like a strange thing to use also since it would require instantiating a class and I am not sure if just passing the name of the file to it would get it to find the file in the private area of my phone.</p>