public function createFile($perm) {
		if ($this->isFile()) return false;
		
		IoUtils::touch($this->path);
		IoUtils::chmod($this->path, $perm);

		return true;
	}
public function createFile($perm) {
		if ($this->isFile()) return false;
		
		IoUtils::touch($this->path);
		IoUtils::chmod($this->path, $perm);

		return true;
	}
public function createFile ( $ perm ) { if ( $ this -> isFile ( ) ) return false ; IoUtils :: touch ( $ this -> path ) ; IoUtils :: chmod ( $ this -> path , $ perm ) ; return true ; }
Atomically creates a new, empty file named by this abstract path if and only if a file with this name does not yet exist.

@return bool true if the named file does not exist and was successfully created; false if the named file already exists
Atomically creates a new empty file named by this abstract path if and only if a file with this name does not yet exist .