parse torrent file