boolean (final VirtualFile file) { final ContentEntry contentEntry = getContentEntry(); if (contentEntry == null) { return false; } for (VirtualFile excludedDir : contentEntry.getExcludeFolderFiles()) { if (VfsUtilCore.isAncestor(excludedDir, file, false)) { return true; } } return false; }