added new variant to encrypt file