Change code that checked if file name exists to while loop to catch if same name is entered at prompt to enter different name.