docs: def connectWithAdminInfo(path=None):
      """Connect to cjdns admin with data from user file"""
  
      if path is None:
          path = os.path.expanduser('~/.cjdnsadmin')
      try:
          with open(path, 'r') as adminInfo:
              data = json.load(adminInfo)
      except IOError:
          logger.info('~/.cjdnsadmin not found; using default credentials', file=sys.stderr)
          data = {
              'password': 'NONE',
              'addr': '127.0.0.1',
              'port': 11234,
          }
  
      return connect(data['addr'], data['port'], data['password'])