Is there a way to completely remove a file from an SD card?

For my project, I am writing to a .csv file, I want to delete the .csv file after a certain amount of entries so that the file will not get too big. Afterwards I want to reinstate the file, but as a new,empty file. Is there a way to do this?