closes #5, added glob support