Encryption and decryption of the file and plain text