public function extract()
    {
        $bank = BankInterchange\Models\Bank::getInstance([
            'code' => $this->bank_code,
        ]);

        if ($bank === null) {
            $message = "Extractor class for CNAB$this->config not found";
            throw new \LogicException($message);
        }

        $extractor_class = __NAMESPACE__ . "\\Extractors\\Cnab$this->cnab\\"
            . BankInterchange\Utils::toPascalCase($bank->name);

        return new $extractor_class($this);
    }