read connect info from config file