Adding support for directory listings