reading ands writing sd card without closing the file

Hi guys I am using some sensors i want to store the sensors data(sensing)in the sd card ....And i want to display it on LCD ...now i made program(coding) that working but in while reading the data from sd card ,The program is getting struck

Can you help me in this!

No, you are beyond help.

Do you think we're mind-readers?