template of decryption function file