corrected delete_file in daemon e test