docs: public static String readDefaultJsonVersionedFile(Path config, String version, String type) throws IOException {
          Path defaultConfigDir = config.resolve("_default");
          try {
              return readJsonVersionedFile(defaultConfigDir, version, type);
          } catch (NoSuchFileException e) {
              throw new IllegalArgumentException("Mapping file " + type + ".json does not exist for elasticsearch version " + version +
                      " in [" + defaultConfigDir + "] dir");
          }
      }