    # File lib/chef/knife/data_bag_from_file.rb, line 66
          def run
            if @name_args.size != 2
              stdout.puts opt_parser
              exit(1)
            end
            @data_bag, @item_path = @name_args[0], @name_args[1]
            item = loader.load_from("data_bags", @data_bag, @item_path)
            item = if use_encryption
                     secret = read_secret
                     Chef::EncryptedDataBagItem.encrypt_data_bag_item(item, secret)
                   else
                     item
                   end
            dbag = Chef::DataBagItem.new
            dbag.data_bag(@name_args[0])
            dbag.raw_data = item
            dbag.save
            ui.info("Updated data_bag_item[#{dbag.data_bag}::#{dbag.id}]")
          end