added the event list file and wrote the getEvent method