public static SettingsData ReadFromFile(SettingCategory category, string file)
        {
            var data = new SettingsData(category)
            {
                Provenance = file
            };

            StringPropertyReader.ForFile(file).ReadProperties((key, value) => data[key] = value);

            return(data);
        }
 public static void ReadFromFile(string file, SettingsData data)
 {
     StringPropertyReader.ForFile(file).ReadProperties((key, value) => data[key] = value);
 }