In the exception example of earlier section, when error "(2) bad file name" occurred, the user had to enter a line number before the error occurred. Rewrite the code so that if a bad file name is entered, the error will be handled before a line number is requested.