public function parse()
    {
        foreach($this->parser->parse($this->inputFile) as $item) {
            $writer = WriterFactory::create($item['type'], $this->config);

            if($writer) {
                $writer->write($item);
            }
        }
    }