public static TempPath createFile(Path dir) throws IOException {
  return wrap(Files.createTempFile(dir,PREFIX,SUFFIX));
}

public static TempPath createFile ( Path dir ) throws IOException { return wrap ( Files . createTempFile ( dir , PREFIX , SUFFIX ) ) ; }
creates a new temporary file in the specified directory .
