Added support for reading logs back