title: java.io.FileNotFoundException, file not being found
body: <p>I just wanted to read a file line by line.
  This was meant to be simple, but i just can't get it right!</p>
  
  <pre><code>String fileName = "C:/Users/Diogo/Desktop/Krs_Grafo/Graph.txt";
  FileReader file = new FileReader(fileName);
  BufferedReader inputStream = new BufferedReader(file);
  System.out.println(inputStream.readLine());
  </code></pre>
  
  <p>i keep getting the error:</p>
  
  <pre><code>Exception in thread "main" java.io.FileNotFoundException: C:\Users\Diogo\Desktop\Krs_Grafo\Graph.txt (O sistema não pode encontrar o arquivo especificado)
  at java.io.FileInputStream.open(Native Method)
  at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:120)
  at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:79)
  at java.io.FileReader.&lt;init&gt;(FileReader.java:41)
  at krs_grafo.Krs_Grafo.main(Krs_Grafo.java:51)
  Java Result: 1
  </code></pre>
  
  <p>The system cant find the file, but i'm sure as hell it is there!
  I'm using Netbeans 7.0 on a Windows 7.</p>
  
  <p>Any suggestions?</p>
  
  <p>AS SAID IN THE COMMENTS, it was searching for "Graph" and not "Graph.txt". This was from a previous execution where I tried without the extension. So, I edited it to be coherent. It still doesn't work.</p>