use temp directory for the report file