Encrypted file upload/download fully implemented