delete binary file and temp file