Create new file

Create a new file with groovy.


String filename = "test.txt"
// creates a new file test.txt
boolean success = new File(filename).createNewFile()