docs: private Object[] getUpdateCatalogParams(File catalogPath, File deploymentPath)
      throws IOException {
          Object[] params = new Object[2];
          if (catalogPath != null) {
              params[0] = ClientUtils.fileToBytes(catalogPath);
          }
          else {
              params[0] = null;
          }
          if (deploymentPath != null) {
              params[1] = new String(ClientUtils.fileToBytes(deploymentPath), Constants.UTF8ENCODING);
          }
          else {
              params[1] = null;
          }
          return params;
      }