This extracts the previous data structure from groupBy into an actual Data.Map.Strict String [TermMatch], as well as another type (ParseResponse) capturing invalid and valid responses.
This returns a list of each match, files, and counts based on the current directory.