Update to use encrypted file storage