Just to mention an alternative, you can read the file for binary input as well.
___
[tt]
Dim Contents As String, FileNum As String
FileNum = FreeFile
Open "C:\test.xml" For Binary Access Read As FileNum
Contents = Space$(LOF(FileNum))
Get #FileNum, , Contents
Close #FileNum[/tt]
___
The important thing is, it is much better and efficient to read the file this way (unless the text file is extremely large), because in this way, the read operation is performed only once.
On the other hand, with Line Input statement, the hard disk is scratched every time a read operation is requested and overall time is also increased.
The time required to read 1 KB of data, 1000 times is much larger than the time required to read 1 MB of data in a single chunk.
After reading the contents, you can also parse the contents line-by-line by performing [tt]Split[/tt] on the received text.