@Override
        public void fileTypesChanged(@NotNull FileTypeEvent e) {
          PsiManagerImpl psiManager = (PsiManagerImpl)PsiManager.getInstance(project);
          ((FileManagerImpl)psiManager.getFileManager()).processFileTypesChanged(e.getRemovedFileType() != null);
        }
@Override
        public void fileTypesChanged(@NotNull FileTypeEvent e)