Clearing content of text file using C#

I need to use add because it is in loop.

I can overcome this issue by writing to the file.
after the loop i get the data by reading the file but i have to clear it every time.
i thought about deleting the file, but i think the hdd might swell