Does the input file (the one you need to read from) have a structured layout?

Assuming it does, then you could
Code:

Open(1,"YourFileHere.TXT",2"

Do $ = Split(Readline(1)," ") Until $[0] = "InsertDateHere"
Open (2,"YourOtherFile.TXT",5)
While @Error = 0
Writeline (2,$R+@crlf)
$R = Readline(1)
Next
Close(1)
Close(2)



May not be perfect code, but should give you an idea