moved clean_files