Move delete_temp_files() to Functions lib.
Oops forgot to comment remarks.