Thanks for the input, paul. I think that would make the code bigger, but the file would only need to be open while filling the array. I'll write a second routine that does it that way and then benchmark it.