Tool for directory hierarchy analysis