code: void pathsToAttempt(Multimap<Path, String> sink, Location location) {
      Path base = fileSystem.getPath(location.getBase());
  
      String path = location.getPath();
      while (!path.isEmpty()) {
        String parent = path.substring(0, path.lastIndexOf('/', path.length() - 2) + 1);
        String profilePath = parent + name + ".wire";
        sink.put(base, profilePath);
        path = parent;
      }
    }
docs: Computes all possible {@code .wire} profile files for the {@code .proto} at {@code location}
  and adds them to {@code result}.