added support for .torrent files