def unzip(self, payload):
        """
        Unzips a file

        :param payload:
            zip_with_rel_path: string
            remove_original_zip: boolean
        :return: (object)
            unzipped_path: string
        """
        zip_with_rel_path = payload.pop('zip_with_rel_path')

        url = "{url_base}/resource/{pid}/functions/unzip/{path}/".format(
            url_base=self.hs.url_base,
            path=zip_with_rel_path,
            pid=self.pid)
        r = self.hs._request('POST', url, None, payload)
        return r