What is html specific about this function? Isn't it just expanding a directory? :) My thinking is that, inside the ExDoc module, we will process the given files, expanding the directories, and returning a tree like structure (tuples with directory and children) that the formatter could use (if we decide we will indeed show the directories + files in the left sidebar).