private void RemoveStatsWithNoFile(List <ImageStat> imageStats, MainFormController mainFormController)
 {
     foreach (var stat in imageStats)
     {
         if (!File.Exists(stat.ImagePath))
         {
             Messaging.Talk($"No physical file {stat.ImagePath}...");
             mainFormController.DeleteImageStatById(stat.Id);
             imageStats = imageStats.Where(s => s.Id != stat.Id).ToList();
         }
     }
 }