add glob support, Fix #10