Adding glob support
Merge pull request #22 from mrjoelkemp/support_glob

Fixes support for glob format (an array of files as input)