Updated EncryptionController to save a keyMap to an encrypted file.