Added delete_old_files option