Two pass version of AESVM for files too large to store in memory