delete
Deletes a file or directory denoted by the path. If the item is a directory, it will be deleted recursively with all its contents.
Parameters
parent
The path of the item to delete.
Throws
IOException
or its inheritor if the file or directory doesn't exist or can't be deleted for any other reason.