Thank you for your response.

remove the old first line and insert a new first line you have to rewrite the entire file, which is a very slow operation and must be repeated for each subsequent line

is there any other approach we can use instead of copying to achieve this ?


Thank you in Advance.

Regards,
Anamika