title: Reading a text file (~90,000 words) and trying to add each word into an ArrayList of strings
body: <p>My method read and prints the file, but I am having trouble adding each word to the <code>ArrayList dict</code>. </p>
  
  <p>The reader reads the file one char at a time, so what I have written adds each char to <code>dict</code>: [c,a,t,d,o,g] when I want [cat,dog]. The text file has the words on their own line; how can I distinguish them?</p>
  
  <p>My code so far:</p>
  
  <pre><code>public static List Dictionary() {
      ArrayList &lt;String&gt; dict = new ArrayList &lt;String&gt;(); 
  
      File inFile = new File("C:/Users/Aidan/Desktop/fua.txt");   
      FileReader ins = null;
  
      try {
          ins = new FileReader(inFile);
  
          int ch;
  
          while ((ch = ins.read()) != -1) {
              System.out.print((char) ch);
  
              dict.add((char) ch + "");
          }
      } catch (Exception e) {
          System.out.println(e);
      } finally {
          try {
              ins.close();
          } catch (Exception e) {
          }
      }
      return dict;
  }
  </code></pre>