void (@NotNull List<? extends @NotNull VFileEvent> events) { final var fileTypeRegistry = FileTypeRegistry.getInstance(); for (final var event: events) { if (event instanceof VFileDeleteEvent fileDeleteEvent) { final var file = fileDeleteEvent.getFile(); if (fileTypeRegistry.isFileOfType(file, MarkdownFileType.INSTANCE)) { myAdditionalCacheToDelete.addAll(processSourceFileToDelete(file, ContainerUtil.emptyList())); } } } }