Pretty sure I should use .end instead of .close.

Also, I can use a map instead of forEach on the
globs.
Got browse working by some miracle.