public function parseFile(string $filename, string $vcsType = ''): Changeset
    {
        $parser = $this->getParser($vcsType);

        if (!file_exists($filename)) {
            throw new \RuntimeException(
                'File "' . $filename . '" not found.'
            );
        }

        return $parser->parse(
            file($filename, FILE_IGNORE_NEW_LINES)
        );
    }