parse configuration file