Make GlobReader more efficient.
Pull more functionality for running pipelines into this package.