Delete a file with the unlink() function.
Its syntax is: int unlink (string file) <? unlink("data.txt"); ?>