Cleaning up the file.