added support for globbing