<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def document(self, name, file_name, **kwargs):
 """Add Document data to Batch object. Args: name (str):
 The name for this Group. file_name (str):
 The name for the attached file for this Group. date_added (str, kwargs):
 The date timestamp the Indicator was created. file_content (str;method, kwargs):
 The file contents or callback method to retrieve file content. malware (bool, kwargs):
 If true the file is considered malware. password (bool, kwargs):
 If malware is true a password for the zip archive is xid (str, kwargs):
 The external id for this Group. Returns: obj: An instance of Document. """

        group_obj = Document(name, file_name, **kwargs)
        return self._group(group_obj)