added file encryption/decryption