I'm sure there is a better way to do this but here's a way. I haven't used file reading too much with DBP. You may want to look into CattleRustler and Exeat's plugin as it has great functions for this.
http://forum.thegamecreators.com/?m=forum_view&b=5&t=32361&p=0
`dim an array to store the values from the file
dim statvalue(10)
`open the file for reading and number it file #1
open to read 1, "Superman.stat"
`temp just to set the print location default
a = 5
`read from the file say you may have 10 stats max
for i = 1 to 10
`read string from file into temp string
`it will read the strings one at a time from top to bottom
`moving to the next string each time read string is called
`syntax : read string file#, StringVariable_ToStoreItIn
read string 1, tempstring$
`convert the captured string into a number value and store in an INT array
statvalue(i) = val(tempstring$)
`print values
set cursor 5, a
print "statline" , i , "= ", statvalue(i)
`keep incrementing to the next print line space
inc a, 15
`if file ends before i reaches 10, exit the loop to save the extra
`checks though with just 10 checks its no big deal but if it were
`alot more it would help :)
if file end(1) = 1 then i = 10
next i
wait key
Hope this helps. Good luck.