implement sequencefile reader
add comment for writing protobuf to file