Added option to load files by glob patterns.