read config files correct