Adding more code to the file io. Writing outline for the encryption
controller