Create two structures from your code base, save all information to a file, the give the user the option to open and read the file in.Step 1: Create the structuresCreate a PHONE_INFO structure, which contains the phone number and phone type, a well as an ICD_INFO structure, containing the ICD Code and the ICD Date.1. Understand that all pieces of information for the PHONE_INFO structure are numeric (an unsigned short, an unsigned int, and an enumeration)2. The ICD_INFO structure contains a dynamic string, so you will need to store the size for that string along with the pointer.Step 2: Write all data to a file1. Create a variable that save the number of records the software has created2. Save that number to a file,overwriting the old file,named“ICD.idx”(forICDindex)3. After printing the data to the screen, ask the user if they would like to save the information to a file.1. Error trap for an input of a single character that is“Y”,meaning the user wants to save the file, or “N” meaning the data can be deleted.4. If the user agrees to save the data, save the information into a file called “LastName_FirstName_RecordNum.icd”1. LastName is the last name that was entered2. FirstName is the first name that was entered3. RecordNum is the record number from the internal variableStep 3: Prompt to reload1. Rewrite the beginning of your program to Do the following1. Reload the ICD.idx value from the drive, and place the number into the appropriate variable2. prompt the user if they want to reload an old record1. Error trap for a single character as in Step 2.3.1above2. If the user types“N”for reloading a record,the program proceeds as normal.1. Increment the ICD.idx file with the new record number.2. Prompt for new information for a new user, the same way your program workedbefore, including Step 1 structures above3. Prompt to save the information as in step 2 above.3. If the user types“Y” to reload a record.1. Prompt and error trap for the