title: LineNumberReader Skips the First Line of the file
body: <p>I am reading the First 6 Lines of a text file with this code:</p>
  
  <pre><code>File finish = new File("C:/ABC Statements final/");
          File[] finf = finish.listFiles();
          String[] filenames1 = finish.list();
          LineNumberReader br = null;  
          PrintWriter bw = null;  
          for (int k = 0; k &lt; filenames1.length; k++) {
              try {
              br = new LineNumberReader(new FileReader(new File("C:/ABC Statements final/" + filenames1[k])));  
              String line = br.readLine();  
  
              while (line != null &amp;&amp; br.getLineNumber() &lt;= 6 ) {   
                  line = br.readLine();  
                  System.err.println(line);
              }  
  
  
              } catch (Exception asd) {
                  System.err.println(asd);
              }
  </code></pre>
  
  <p>My Output does not print the first Line of the file. Anyone Who Knows what I am doing wrong?</p>