@NotNull
  private static List<? extends SslEntityReader.Entity> readWithCache(@NotNull String path) throws IOException {
    File file = new File(path);
    long stamp = file.lastModified();
    Pair<Long, List<? extends SslEntityReader.Entity>> cached = entityCache.get(path);
    if (cached != null && cached.first.equals(stamp)) {
      return cached.second;
    }
    try (FileInputStream stream = new FileInputStream(file)) {
      List<? extends SslEntityReader.Entity> res = SslEntityReader.getInstance().read(stream);
      entityCache.put(path, new Pair<Long, List<? extends SslEntityReader.Entity>>(stamp, res));
      return res;
    }
  }
@NotNull
  private static List<? extends SslEntityReader.Entity> readWithCache(@NotNull String path)