Encrypt file