added support for listing directory content