task-7: directories fixed to show filenames at the bottom of each item