Function that is used to delete a file.
filename
String that specifies the path and file name of the file to be deleted.
deleteFile("c:\Content\test.txt");
deleteFile(data.filename);