read config.cfg