private static @NotNull Path getMetadataByDir(@NotNull String dir, @NotNull String recorderId, @NotNull String fileName) throws IOException {
    Path metadataDir = getMetadataConfigRoot(dir);
    return metadataDir
      .resolve(StringUtil.toLowerCase(recorderId))
      .resolve(fileName)
      .normalize().toAbsolutePath();
  }
private static @NotNull Path getMetadataByDir(@NotNull String dir, @NotNull String recorderId, @NotNull String fileName)