A pretty way to work with ttyrec format