output report and cleanup temp files