Refactor for testing. Still needs mocking of file IO to test
filterForContentFreeTextFiles method.