Curious why this needed to be mocked?  None of your test filenames would hit the normal exclusion filter...