factor out unglob
update readme