public function setup(array $conf = [])
    {
        if (empty($conf['filesystem'])) {
            throw new Exception('no filesystem configured');
        }
        $this->filesystem = $conf['filesystem'];
        $this->path       = !empty($conf['path']) ? $conf['path'] : '';
    }