I need to clear the contents of a particular file every time the applications starts. How do I do it?
The simplest way to do this is perhaps deleting the file via your application and creating a new one with the same name... in even simpler way just make your application overwrite it with a new file.