adding support for torrent files