read config from file.