def upload(self, file, **kwargs):
return Uploader(<EOL>self._requester,<EOL>'<STR_LIT>'.format(self.id),<EOL>file,<EOL>**kwargs<EOL>).start()<EOL>
Upload a file for a user.

NOTE: You *must* have authenticated with this user's API key to
upload on their behalf no matter what permissions the issuer of the
request has.

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

: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