1. You are given a file called class_scores.txt, where each line of the file contains a one-word username and a test score separated by spaces, like below:.GWashington 83JAdams 86Write code that scans through the file, adds 5 points to each test score, and outputs the user-names and new test scores to a new file, scores2.txt.2. You are given a file called grades.txt, where each line of the file contains a one-word stu-dent username and three test scores separated by spaces, like below:.GWashington 83 77 54JAdams 86 69 90Write code that scans through the file and determines how many students passed all threetests.3. You are given a file called logfile.txt that lists log-on and log-off times for users of asystem. A typical line of the file looks like this:Van Rossum, 14:22, 14:37