how to loop reading data from sdcard

i try to looping reading data without file.close() data on sd card : 10,11 12,13 14,15

on the output 10,11 12,13 14,15 14,15 14,15

i want the output is

10,11 12,13 14,15 10,11 12,13 14,15

anyone can help me please ? or have another solution because my array just read the last index

or have another solution

Without seeing your code? No.