Deletes a file. Errors if the path is a folder or does not exist.

Parameters

string
required
The file to delete.

Example

Errors