How do I delete the contents of a file?

I have been using streamWriter to make files and print text, however i've changed it instead of erasing the file, it adds text to it, however, I have about 60x of the same text... so how can I erase the content of a file?