var %i = 1, %lines = $lines(%file), %text while (%i <= %lines) { %text = %text $read(%file,%i) inc %i }