read configuration file