wrote script for downloading torrent files