code: func (ac *accountCache) deleteByFile(path string) {
  	ac.mu.Lock()
  	defer ac.mu.Unlock()
  	i := sort.Search(len(ac.all), func(i int) bool { return ac.all[i].URL.Path >= path })
  
  	if i < len(ac.all) && ac.all[i].URL.Path == path {
  		removed := ac.all[i]
  		ac.all = append(ac.all[:i], ac.all[i+1:]...)
  		if ba := removeAccount(ac.byAddr[removed.Address], removed); len(ba) == 0 {
  			delete(ac.byAddr, removed.Address)
  		} else {
  			ac.byAddr[removed.Address] = ba
  		}
  	}
  }
docs: // deleteByFile removes an account referenced by the given path.