src/php/econtext-lib-file/File.php
public function unlink() {
		if($this->isOpen()) {
			$this->close();
		}
		if($this->exists()) {
			if(unlink($this->filepath)) {
				$this->unlinked = true;
			}
		}
	}
public function unlink() {
		if($this->isOpen()) {
			$this->close();
		}
		if($this->exists()) {
			if(unlink($this->filepath)) {
				$this->unlinked = true;
			}
		}
	}
public function unlink ( ) { if ( $ this -> isOpen ( ) ) { $ this -> close ( ) ; } if ( $ this -> exists ( ) ) { if ( unlink ( $ this -> filepath ) ) { $ this -> unlinked = true ; } } }
Remove the file from the filesystem

@return boolean Successfully deleted the file
Remove the file from the filesystem