added glob filtering; fixes #40