so after it writes the text file you can read it like any normal .txt right?

try this
Code:
alias mystats {
var %lines.tot = $lines(filename.txt)
var %i = 1
while (%i <= %lines.tot) {
var %stats.line =  %stats.line $read(filename.txt,%i) <>
inc %i
}
msg #channelname %stats.line
}

change filename.txt to the actual file name
change #channelname to the actual channel's name

NOTE I typed this out in the msg board reply "box"