for (LivingGroup group : LivingGroups) {
getOrCreate(configNameToLivingGroups.get(), group.configName).put(group.groupID, group);
}
}
public static File getFile(File configDirectory, String saveName) {
<BUG>return new File(configDirectory, DefaultProps.WORLDSETTINGSDIR + saveName + "/" + "LivingGroups.cfg");

}</BUG>
private TreeMap<String, LivingGroup> getOrCreate(TreeMap<String, TreeMap<String, LivingGroup>> map, String key) {
TreeMap<String, LivingGroup> group = map.get(key);

for (LivingGroup group : LivingGroups) {
getOrCreate(configNameToLivingGroups.get(), group.configName).put(group.groupID, group);
}
}
public static File getFile(File configDirectory, String saveName) {
return new File(configDirectory, DefaultProps.MODDIR + DefaultProps.WORLDSETTINGSDIR + saveName + "/"
+ "LivingGroups.cfg");
}
private TreeMap<String, LivingGroup> getOrCreate(TreeMap<String, TreeMap<String, LivingGroup>> map, String key) {
TreeMap<String, LivingGroup> group = map.get(key);
