private void LoadPatterns(string filePath)
 {
     LoadPatterns(DetectionResult.LoadFromFile(filePath));
 }