internal static string CreateOutputFile(KnowledgeBase KB, string title) { string outputFile = KB.UserDirectory + @"\kbdoctor." + Utility.CleanFileName(title) + ".html"; if (File.Exists(outputFile)) { File.Delete(outputFile); } return(outputFile); }