docs: def delete(self, remote_file):
          """Delete file from the cloud. The azure url format is https://myaccount.blob.core.windows.net/mycontainer/myblob.
           Args:
               remote_file(str): The path of the file to be deleted.
           Raises:
               :exc:`~..OsmosisError`: if the file is not uploaded correctly.
          """
          if 'core.windows.net' not in remote_file:
              self.logger.error("Source or destination must be a azure storage url (format "
                                "https://myaccount.blob.core.windows.net/mycontainer/myblob")
              raise OsmosisError
          parse_url = _parse_url(remote_file)
          key = self.storage_client.storage_accounts.list_keys(self.resource_group_name, parse_url.account).keys[0].value
          if parse_url.file_type == 'blob':
              bs = BlockBlobService(account_name=parse_url.account, account_key=key)
              return bs.delete_blob(parse_url.container_or_share_name, parse_url.file)
          elif parse_url.file_type == 'file':
              fs = FileService(account_name=parse_url.account, account_key=key)
              return fs.delete_file(parse_url.container_or_share_name, parse_url.path, parse_url.file)
          else:
              raise ValueError("This azure storage type is not valid. It should be blob or file.")