Log reading using memory mapped files
TODO to fix test in the future