public function existsInList($bucketId, $fileName)
    {
        $this->ensureAuthorized();
        $response = $this->client->b2ListFileNames($this->apiURL, $this->token, $bucketId, $fileName, 1);
        if (!$response->isOk(false)) {
            return false;
        }

        return $response->get('files')[0]['fileName'] === $fileName;
    }