Moved the FileMatcher logic into matchers.py.