//creates a new, empty file named by this abstract pathname if and only if
//a file with this name does not yet exist. The check for the existence of
//the file and the creation of the file if it does not exist are a single
//operation that is atomic with respect to all other filesystem activities
//that might affect the file. try {
System.out.println("New file created successfully : " + newFile2Create.createNewFile());
} catch (IOException e) {
e.printStackTrace();
}
}