This code performs file input validation by checking whether the file exist and prompting the user for the name of the file two more times,...