public function constructParser($filetype)
{
$filetype = strtoupper($filetype);
if (!in_array($filetype, $this->validParserTypes)) {
throw new \Exception('Filetype ' . $filetype . ' is not supported', SimpleExcelException::FILETYPE_NOT_SUPPORTED);
}
$parser_class = 'SimpleExcel\\Parser\\' . $filetype . 'Parser';
$this->parser = new $parser_class();
}