void (@NotNull Element state) { super.loadState(state); LinkedHashMap<VirtualFile, FileType> files = new LinkedHashMap<>(); for (VirtualFile file : super.getFiles()) { if (OverrideFileTypeManager.isOverridable(file.getFileType())) { files.put(file, PlainTextFileType.INSTANCE); } } OverrideFileTypeManager.getInstance().addFiles(files); }