question: private boolean readFile ( final File fl ) throws IOException , FileNotFoundException { boolean success = false ; BufferedReader reader = null ; try { reader = new BufferedReader ( new InputStreamReader ( new FileInputStream ( fl ) ) ) ; int line = 1 ; String readLine = null ; while ( reader . ready ( ) && ( readLine = reader . readLine ( ) ) != null ) { parseValue ( readLine , line ) ; line ++ ; } reader . close ( ) ; success = true ; } finally { if ( reader != null ) { reader . close ( ) ; } } return success ; }
target:  Reads traces from a text file, one line at a time.