.torrent file detection improvement