title: File IO in eclipse
body: <p>I am very new to eclipse, i have following line in my code:</p>
  
  <pre><code>BufferedReader bf = new BufferedReader(new FileReader("dvdinfo.txt"));
  </code></pre>
  
  <p>when implemented through a simple text editor and windows console it works fine but when run through eclipse it shows <code>FileNotFoundException</code>. </p>
  
  <p>Yes, i do always keep the txt file in the same folder as the <code>.java</code> file that contains this code. Also in eclipse i have selected to have both my source code and my class file in the same folder.</p>
  
  <p>Is there any different way to specify the name of a file in the same folder in eclipse.</p>
  
  <p>Note: i am using windows 7 and eclipse 3.7</p>