read links and creds from config file