2. A file sports.dat contains information in following format : Event ~ Participant Write a function that would read contents from file sports.dat and creates a file named Atheletic.dat copying only those records from sports.dat where the event name is “Atheletics”.