a simple script to encrypt and decrypt files