added escXML and also made it so the config file loading code can
be passed a filename to override (or bypass) the command line parsing