/** * Read all county files */ private void ReadCounties() { var selectedCounties = ReadSelectedCounties(); //Read county files foreach (string filePath in Directory.EnumerateFiles(Configuration.GetSetting(Configuration.INPUT_DIRECTORY))) { County county = ReadCounty(filePath, selectedCounties); if (county != null) { Counties.Add(county); } } CountiesRead?.Invoke(); }