glob functionality for node.js