add the clean() function to clean temp fils