Properties props = new Properties();
FileInputStream inStream = new FileInputStream(args[0]);
props.load(inStream);
inStream.close();
ServerProtocolFactory protocolMaker = (ServerProtocolFactory) PropertiesUtils
.instantiateFromProps(props.getProperty("protocol"),
"protocol", props,
ServerProtocolFactory.class);
final Charset charset = Charset.forName(props.getProperty(