Adds find by name and by dir for indexes to h.get(...)