boolean (@NotNull VirtualFile file) { if (file.isDirectory()) { getVFileToPsiDirMap().remove(file); } else { FileViewProvider viewProvider = getVFileToViewProviderMap().remove(file); if (viewProvider != null) { markInvalidated(viewProvider); } } return true; }