private function encodePaths(array $paths)
    {
        $paths_b64 = [];
        foreach ($paths as $path) {
            $paths_b64[] = $this->encodePath($path);
        }
        return $paths_b64;
    }