modifying to show index of directory structure