refactor FileParserTestCase