simplify file stream operations
add support for multiple log files
filter replay streams