cleaning the file