Assigning keys to employees and sending the data into a file.