encrypt_file function

File Encryption and Decryption (AES-256-CBC)