Implement event file reader

Add new event stream reader interface.
Implement event file writer