question: private static List < String > readFile ( File file ) throws IOException { FileReader fr = new FileReader ( file ) ; BufferedReader br = new BufferedReader ( fr ) ; List < String > lines = new ArrayList < String > ( ) ; String line ; while ( ( line = br . readLine ( ) ) != null ) lines . add ( line ) ; fr . close ( ) ; br . close ( ) ; return lines ; }
target:  Returns a list with the file lines.