Added capability to load the configuration from an external file.