code: public static void touch(@Nonnull File file) throws IOException {
          Files.newOutputStream(fileToPath(file)).close();
      }
docs: Creates an empty file if nonexistent or truncates the existing file.
  Note: The behavior of this method in the case where the file already
  exists is unlike the POSIX <code>touch</code> utility which merely
  updates the file's access and/or modification time.