void (@NotNull String eventsSchemeJson, long lastModified) { try { Path file = getDefaultFile(); Files.createDirectories(file.getParent()); Files.writeString(file, eventsSchemeJson); EventLogMetadataSettingsPersistence.getInstance().setLastModified(myRecorderId, lastModified); } catch (IOException e) { LOG.error(e); } }