File f = new File(cmd.getArgs()[0]);
ReloadableCharBuffer buffer = ReloadableCharBuffer.fromFileReloadable(f);
LineIndex lineIndex = format.getLineIndex(buffer);
BasicLineIterator i = new BasicLineIterator(lineIndex);
EventList eventIndex = format.getEventList(lineIndex);
while (i.hasNext()) {
Line line = i.next();
Event event = eventIndex.readEvent(line);
if (event != null) {
System.out.println(event.toString());
}