public bool FileChangeShouldRegenerateTopicTree(string file) { if (Path.GetExtension(file) == ".md") return true; var name = Path.GetFileName(file); return name.EqualsIgnoreCase("splash.htm") || name.EqualsIgnoreCase("order.txt"); }