Clean up file.