use a recursive function to check the config fie against the default list of options