File configRoot = new File(args[0]);
if (!configRoot.exists() || !configRoot.isDirectory()) {
usage();
}
PropertyConfigurator configurator = new PropertyConfigurator();
configurator.setConfigurationRoot(configRoot);
configurator.setTypeCoercer(new MyTypeCoercer());
try {
Config config = configurator.getConfiguration(Config.class);
System.out.println("Your configuration is: ");
System.out.println("\tdate: " + config.getDate());
System.out.println("\tdouble: " + config.getDouble());
} catch (ConfigurationException e) {