protected function discover()
    {
        /** @var File $file */
        foreach ($this->fileset as $file) {
            $rst = new Document($this, $file);
            $rst->options->xhtmlVisitor = 'phpDocumentor\Plugin\Scrybe\Converter\RestructuredText\Visitors\Discover';

            if ($this->getLogger()) {
                $this->getLogger()->info('Scanning file "' . $file->getRealPath() . '"');
            }

            try {
                $rst->getAsXhtml();
            } catch (\Exception $e) {
                continue;
            }
        }
    }