Refactor and add #glob, #globWith