Hi,
I am writing some data (like some 10000 bytes) to a file Once it reaches the maximum size then the first data has to be deleted and the new data should be written at the bottom.

Ex:
12345...