clean up binary file