<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def download(self, torrent_id, directory, filename) : """ Download a torrent """

        return self.call('torrents/download/%s' % torrent_id, params={'filename' : filename, 'directory' : directory})