In the code found by Karmac, wich was originally posted by me, "Level" is a global variable...
The fie was a basic score table and the out put was something like :
Level1
03m20s, 487
03m31s, 398
..............
Level2
07m21s, 732
08m02s, 695
......
The code in the example reads the "Level" portion of the file, filing the 25 slots ( 5 time stamps, 5 sores), thus discarding whatever is left of the file...
Note that in my case, the file had a known values count....