title: FileNotFoundException when using BufferedReader on a file
body: <p>I'm very confused on getting basic file reading to work with Java.  Lots of mixed signals.</p>
  
  <p>I've tried it a couple different ways and I consistently get a not found exception each time.  I've checked with a file object set to the current path to print the current directory and I am indeed in the directory the file I'm trying to open is in.  The permissions are set so everyone can read.  I'm not sure what is going on:</p>
  
  <pre><code>BufferedReader infixLines = new BufferedReader ( new FileReader ( "input.infix" ));
  </code></pre>
  
  <p>This is the line that throws the error, consequently each consecutive line using infixLines also throws an error.</p>
  
  <p>I've tried it using FileInputStream as well and get the same kind of error.</p>
  
  <p>That being said simply doing</p>
  
  <pre><code>File file = new File("input.infix");
  if ( file.exists() )
      System.out.println( "Exists" );
  </code></pre>
  
  <p>DOES work.</p>
  
  <p>Very confused.</p>
  
  <p>EDIT: (Stacktrace?)</p>
  
  <pre><code>ParseInfix.java:13: unreported exception java.io.FileNotFoundException; must be
              BufferedReader infixLines = new BufferedReader(new FileReader (n
                                                             ^
  ParseInfix.java:15: unreported exception java.io.IOException; must be caught or
              while ( ( line = infixLines.readLine()) != null )
  </code></pre>