Adds support for glob patterns in filenames

Closes #7