read config file while initialization