if (! -e $oldfile) #### if (! -e $_) #### print "Could not rename $_ because $oldfile name already exists and can not be overwritten\n";