Freehills saves NAB from £20bn disaster