read the config file