added globbing support, fixes #5