extracts hierarchy of the current directory