Tidy up file.