load config from an external file