code: public EventRecord getNext() {
      try {
  	String line = reader.readLine();
  	if (line != null) {
  	    if (firstLine == null)
  		firstLine = new String(line);
  	    offset += line.length() + 1;
  	    return parseLine(line);
  	}
      } catch (IOException e) {
        e.printStackTrace();
      }
      return null;
    }
docs: Continue parsing the log file until a valid log entry is identified.
  When one such entry is found, parse it and return a corresponding EventRecord.
  
  
  @return The EventRecord corresponding to the next log entry