Torrent generation