if (!plugin_cfg_cache.containsKey(plugin)) {
plugin_cfg_cache.put(plugin, new HashMap<String, PropertiesFile>());
}
if (!plugin_cfg_cache.get(plugin).containsKey(filepath)) {
PropertiesFile file = new PropertiesFile(filepath);
file.save();
plugin_cfg_cache.get(plugin).put(filepath, file);
}
return plugin_cfg_cache.get(plugin).get(filepath);
}