Generate complete file with previous change