/**
  * Atomically creates a new, empty file named by the specified path if and only if a file with
  * this path does not yet exist.
  *
  * @param path the full path name of the file to be created.
  * @return true if the named file does not exist and was successfully created; false if the named
  *     file already exists
  * @see java.io.File.createNewFile()
  * @author Goh Kan Mun
  * @since 2.0
  * @version 2.0
  */
 public boolean createNewFile(String path) {
   try {
     if (_isLocal) {
       Util.createHigherLevelFolders(_rootFile.getCanonicalPath(), path);
       File tmpFile = new File(_rootFile.getCanonicalPath() + File.separatorChar + path);
       return tmpFile.createNewFile();
     } else {
       return _remote.createNewFile(_domain, path);
     }
   } catch (IOException ioe) {
     return false;
   }
 }