Added functionality to check if a file with the same name exist and to
prompt to see if the user wants to override.