File encryption and decryption with 4 arguments.