changed to only show contents of final directory