public File createFile ( String fileName ) throws IOException { Path path = Paths . get ( rootFolder . getPath ( ) , fileName ) ; return Files . createFile ( path ) . toFile ( ) ; }
Create a file within the temporary folder root .