Scan the whole file means that avast! will scan entire files, every bit of them from start to end. By default, avast! is targeting specific file regions to accelerate scanning and lower resources usage without sacrificing much security.
You'll benefit more if you increase Heuristics sensitivity from Normal to High.