private List <string> ConditionIs(List <string> fileList, string sDir, bool matchAny, BCondition c)
 {
     if (c.Element == "Extension")
     {
         fileList = CombineFileList(matchAny, fileList, GetExtensionIs(sDir, c.Parameter));
     }
     if (c.Element == "Name")
     {
         fileList = CombineFileList(matchAny, fileList, GetNameIs(sDir, c.Parameter));
     }
     return(fileList);
 }
 private List<string> ConditionIs(List<string> fileList, string sDir, bool matchAny, BCondition c)
 {
     if (c.Element == "Extension")
         fileList = CombineFileList(matchAny, fileList, GetExtensionIs(sDir, c.Parameter));
     if (c.Element == "Name")
         fileList = CombineFileList(matchAny, fileList, GetNameIs(sDir, c.Parameter));
     return fileList;
 }