code: private Path getDatasetDirForKey(ConfigKeyPath configKey, String version) throws VersionDoesNotExistException {
      String datasetFromConfigKey = getDatasetFromConfigKey(configKey);
  
      if (StringUtils.isBlank(datasetFromConfigKey)) {
        return getVersionRoot(version);
      }
  
      return new Path(getVersionRoot(version), datasetFromConfigKey);
    }
docs: Retrieves the dataset dir on HDFS associated with the given {@link ConfigKeyPath} and the given version. This
  directory contains the {@link #MAIN_CONF_FILE_NAME} and {@link #INCLUDES_CONF_FILE_NAME} file, as well as any child
  datasets.