def _download_item(item_id, path='<STR_LIT:.>', item=None):
session.token = verify_credentials()<EOL>filename, content_iter = session.communicator.download_item(<EOL>item_id, session.token)<EOL>item_path = os.path.join(path, filename)<EOL>print('<STR_LIT>'.format(item_path))<EOL>out_file = open(item_path, '<STR_LIT:wb>')<EOL>for block in content_iter:<EOL><INDENT>out_file.write(block)<EOL><DEDENT>out_file.close()<EOL>for callback in session.item_download_callbacks:<EOL><INDENT>if not item:<EOL><INDENT>item = session.communicator.item_get(session.token, item_id)<EOL><DEDENT>callback(session.communicator, session.token, item, item_path)<EOL><DEDENT>
Download the requested item to the specified path.

:param item_id: The id of the item to be downloaded
:type item_id: int | long
:param path: (optional) the location to download the item
:type path: string
:param item: The dict of item info
:type item: dict | None