Check for functions given to withClient, expose the default toke file name, and stop trying to return error in text file creds.