Properly filter files before running each tool.

I must have missed this in a refactor at some point.