added warning in naming validation if the script will overwrite a file