public static function guess(string $guess): ?string
    {
        if (! \is_file($guess)) {
            throw new FileNotFoundException($guess);
        }

        if (! \is_readable($guess)) {
            throw new AccessDeniedException($guess);
        }

        return parent::guess(\pathinfo($guess, \PATHINFO_EXTENSION));
    }