Modified to use Torrentclient.