Reader fileReader = new InputStreamReader(new FileInputStream(configFile), encoding);
String propertiesData = FileCopyUtils.copyToString(fileReader);
properties.putAll(PropertiesUtils.loadPropertiesFromString(propertiesData));
} catch (IOException e) {
throw new FlywayException("Unable to load config file: " + configFile, e);
}
}
}