updated to work with v0.4 glob file patterns