@Override
  public void loadState(@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);
  }
@Override
  public void loadState(@NotNull Element state)