java Perform the exact same logic as parts 1 and part 2, except . . .7. The numeric ranges and corresponding letter grade will be stored in a file.8. Need error checking for:a. Being able to open the text file.b. The data makes sense: 1 text line of data would be 100