Perl is the best way to go for something like that. But if you really want to use ASP, then you'll have to use Scripting.FileSystemObject. Here's an sample:
Dim fso, tfo
Set fso = CreateObject("Scripting.FileSystemObject")
Set tfo = fs

penTextFile(filename, 1)
The thing is, you may only read one line at a time, so it's best if you read the whole file into an array. Here's how:
Dim count, textArray
count = -1
Do Until tfo.AtEndofStream
count = count +1
If count > UBound(textArray) Then ReDim Preserve textArray(count+1000)
textArray(count) = tfo.ReadLine
Loop
ReDim Preserve textArray(count)
Now, textArray contains all the text from your file.