Ulf's example is the way to go--processing a line at a time--but I thought I'd mention that with R7 it can be memory efficient to load and parse text files as *binaries*, not as text. This prevents the 8x blow-up you get when a file is turned into raw text. You can deal with much larger files this way. James