protected Stream<String> lines() throws IOException {
    InputStream input = readFiles();
    Reader reader = new InputStreamReader(input, UTF_8);
    return new BufferedReader(reader).lines().map(String::trim)
        .onClose(() -> Closeables.closeQuietly(input));
  }
protected Stream < String > lines ( ) throws IOException { InputStream input = readFiles ( ) ; Reader reader = new InputStreamReader ( input , UTF_8 ) ; return new BufferedReader ( reader ) . lines ( ) . map ( String :: trim ) . onClose ( ( ) -> Closeables . closeQuietly ( input ) ) ; }
Returns a stream of each line in the trace file.