I have tried to open and split the input data based on the new line. But the program did not captured or print out all the input data of the input file. It only print out the last record of the files. As example:- name:00 00 30 mobile:6575758