Questions
Q:

How to delete a text file exists in folder

I need to check file exist and if it is exist need to delete. Also need to create new file. how do i do that?