Deleting a file

Delete a file from disk with groovy.

String filename = "test.txt"
// this deletes the file test.txt
boolean fileSuccessfullyDeleted =  new File(filename).delete()