def upload(self, file, **kwargs):
from canvasapi.upload import Uploader<EOL>return Uploader(<EOL>self._requester,<EOL>'<STR_LIT>'.format(self.id),<EOL>file,<EOL>**kwargs<EOL>).start()<EOL>
Upload a file to the group.
Only those with the 'Manage Files' permission on a group can upload files to the group.
By default, this is anybody participating in the group, or any admin over the group.

:calls: `POST /api/v1/groups/:group_id/files \
<https://canvas.instructure.com/doc/api/groups.html#method.groups.create_file>`_

:param path: The path of the file to upload.
:type path: str
:param file: The file or path of the file to upload.
:type file: file or str
:returns: True if the file uploaded successfully, False otherwise, \
            and the JSON response from the API.
:rtype: tuple