Clean up the file.