It now checks to see if the user is overwriting a file, if it's of the right type, if it exists, etc.
It now checks to see if the user is overwriting a file, if it's of the right type, if it exists, etc.