Infosys Interview Question

write a program to open a contact file and print the information from it