clean up file.