Programming Logic and Design, 7eSolutions 7-fileUpdated = “Y”endifendifreturndisplayRecords()close updatedFileopen updatedFile “BestScores.txt”input playerName, lowScore from updatedFilewhile not eofoutput playerName, lowScoreinput playerName, lowScore from updatedFileendwhilereturnUp for Discussion11.Suppose that you are hired by a police department to write a program that matchesarrest records with court records detailing the ultimate outcome or verdict for each case. You have been given access to current files so that you can test the program. Your friend works in the personnel department of a large company and must perform background checks on potential employees. (The job applicants sign a form authorizing the check.) Police records are open to the public and your friend could look up police records at the courthouse, but it would take many hours per week. As aconvenience, should you provide your friend with outcomes of any arrest records of job applicants?