make filename_prefix an option, use the logfile decompressorr in manager#close_trial