title: Unable to write new lines to File
body: <p>I have a bunch of strings that I'm writing to a file:</p>
  
  <pre><code>private void writeScoreToFile(BlastScore result)
      {
          try{
              FileWriter fstream = new FileWriter(getFilesDir() + CaptureActivity.BLAST_SCORES,true);
              BufferedWriter out = new BufferedWriter(fstream);
              out.write(Integer.toString(result.getBlastScore()));
              out.close();
          }catch (Exception e){
              System.err.println("Write Error: " + e.getMessage());
          }
      }
  </code></pre>
  
  <p>I would like to read it back in as a List.</p>
  
  <pre><code>private List&lt;String&gt; getArrayFromFile(String filename) throws IOException
      {
          FileReader fileReader = new FileReader(getFilesDir() + filename);
          BufferedReader bufferedReader = new BufferedReader(fileReader);
          List&lt;String&gt; lines = new ArrayList&lt;String&gt;();
          String line = null;
          while ((line = bufferedReader.readLine()) != null) {
              lines.add(line);
          }
          bufferedReader.close();
          return lines;
      }
  </code></pre>
  
  <p>The list that is being written is:</p>
  
  <pre><code>100
  96
  100
  96
  100
  </code></pre>
  
  <p>When I print the List it looks like</p>
  
  <pre><code>10-28 21:22:31.130: I/System.out(936): Last Score: 1009610096100
  </code></pre>
  
  <p>Here is the code I am using to print it:</p>
  
  <pre><code>try {
              List&lt;String&gt; blastScores = getArrayFromFile(CaptureActivity.BLAST_SCORES);
              System.out.println("Last Score: " + blastScores.get(blastScores.size()-1));
          } catch (IOException e) {
              // TODO Auto-generated catch block
              System.err.println("Read Error: " + e.getMessage());
          }
  </code></pre>
  
  <p>I'm trying to get the n-1 element.</p>
  
  <p>I'm not sure what I'm doing wrong.</p>