@NotNull
  public static MemoryAgentProgressPoint fromJson(@NotNull String fileName) throws IOException {
    Gson gson = new Gson();
    MemoryAgentProgressPoint progressPoint = gson.fromJson(new FileReader(fileName, StandardCharsets.UTF_8), MemoryAgentProgressPoint.class);
    if (!progressPoint.isValid()) {
      throw new InvalidDataException("Invalid format of progress point");
    }
    return progressPoint;
  }
@NotNull
  public static MemoryAgentProgressPoint fromJson(@NotNull String fileName)