hide spec for file analysis
improve tmp file handling and async events