Check for file or folder, and pop a cleaner error
For the rare times it's just a file use a different copy.
Use a cleaner continue instead of ending the whole script