input/output scripts for encrypting or decrypting files