1. Use of function glob can be really problematic. It's possible to refuse it.
2. Other question, IMHO it's a question to babygekko.