docs: def delete_file_and_sync_source(self, owner, id, name, **kwargs):
          """
          Delete a file
          Delete a single file from a dataset by their name, including files added via URL.
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please define a `callback` function
          to be invoked when receiving the response.
          >>> def callback_function(response):
          >>>     pprint(response)
          >>>
          >>> thread = api.delete_file_and_sync_source(owner, id, name, callback=callback_function)
  
          :param callback function: The callback function
              for asynchronous request. (optional)
          :param str owner: User name and unique identifier of the creator of a dataset or project. For example, in the URL: [https://data.world/jonloyens/an-intro-to-dataworld-dataset](https://data.world/jonloyens/an-intro-to-dataworld-dataset), jonloyens is the unique identifier of the owner. (required)
          :param str id: Dataset unique identifier. For example, in the URL:[https://data.world/jonloyens/an-intro-to-dataworld-dataset](https://data.world/jonloyens/an-intro-to-dataworld-dataset), an-intro-to-dataworld-dataset is the unique identifier of the dataset. (required)
          :param str name: Name and unique idenfiier of file within the dataset. (required)
          :return: SuccessMessage
                   If the method is called asynchronously,
                   returns the request thread.
          """
          kwargs['_return_http_data_only'] = True
          if kwargs.get('callback'):
              return self.delete_file_and_sync_source_with_http_info(owner, id, name, **kwargs)
          else:
              (data) = self.delete_file_and_sync_source_with_http_info(owner, id, name, **kwargs)
              return data