title: Cannot find file on netbeans
body: <p>I'm trying to access a data file to get questions and answers for my "Quiz" application. 
  If I access the file from the one on my desktop, it works fine. If I drag and drop the file into my netbeans, I cannot seem to access it. 
  The file is in the package "quiz" along with my other classes.
  Here's the code that works but I want to use the netbeans file.</p>
  
  <pre><code>String fileName = "C:/Users/Michael/Desktop/QUIZ.DAT";
   try {
          //Make fileReader object to read the file
          FileReader file = new FileReader(new File(fileName));
          BufferedReader fileStream = new BufferedReader(file);
      } catch (Exception e) {
          System.out.println("File not found");
      }
  </code></pre>
  
  <p>To try and access the file on netbeans I use this but it cannot find it.</p>
  
  <pre><code>String fileName = "quiz/Quiz.DAT";
  </code></pre>