In delete_file, acc all files and delete all at once