public function handle($path, $algo = 'sha256')
    {
        if (!in_array($algo, hash_algos())) {
            throw new \InvalidArgumentException('Hash algorithm ' . $algo . ' is not supported');
        }

        $stream = $this->filesystem->readStream($path);

        if ($stream === false) {
            return false;
        }

        $hc = hash_init($algo);
        hash_update_stream($hc, $stream);

        return hash_final($hc);
    }