code: Multimap<Path, String> pathsToAttempt(Set<Location> protoLocations) {
      Multimap<Path, String> result = MultimapBuilder.linkedHashKeys().linkedHashSetValues().build();
      for (Location location : protoLocations) {
        pathsToAttempt(result, location);
      }
      return result;
    }
docs: Returns a multimap whose keys are base directories and whose values are potential locations of
  wire profile files.