Write a program of telephone directory which does below functions using file.
1) Inserts person name and telephone number in a file
2) Displays all records from a file
3) Search telephone number based on person name from a file
4) Search person name based on telephone number from a file
5) Update telephone number by providing person name