code: def delete(filename, retry_params=None, _account_id=None):
    
    api = storage_api._get_storage_api(retry_params=retry_params,
                                       account_id=_account_id)
    common.validate_file_path(filename)
    filename = api_utils._quote_filename(filename)
    status, resp_headers, content = api.delete_object(filename)
    errors.check_status(status, [204], filename, resp_headers=resp_headers,
                        body=content)
docs: Delete a Google Cloud Storage file.
  
    Args:
      filename: A Google Cloud Storage filename of form '/bucket/filename'.
      retry_params: An api_utils.RetryParams for this call to GCS. If None,
        the default one is used.
      _account_id: Internal-use only.
  
    Raises:
      errors.NotFoundError: if the file doesn't exist prior to deletion.