clean the file