Split FileParserJSON into a separate class.