read the configuration file