[Directory]: add display of text and image files