*/
public static Map loadPropertiesFile(InputStream istream, String propsCharset, String url, boolean closeOnExit) {
ExtendedProperties props = new ExtendedProperties();
try {
props.load(istream, propsCharset, url);
} catch (IOException e) {
throw new ConfigException(e);
} finally {
if (istream != null) {
try {