clean the file before write