added support for directories