code: @Override
    public void write(DataOutput out) throws IOException {
      out.writeInt(files.length);
      for (int i = 0; i < files.length; i++) {
        Text.writeString(out, files[i]);
      }
      Text.writeString(out, cookie);
    }
docs: {@inheritDoc}