original_string: public function delete() {
  
  		if(@unlink($this->getPath())) {
  			$this->deleteCacheEntries();
  			self::unsetInstance($this->getPath());
  		}
  		else {
  			throw new FilesystemFileException("Delete of file '{$this->getPath()}' failed.", FilesystemFileException::FILE_DELETE_FAILED);
  		}
  
  	}
code: public function delete() {
  
  		if(@unlink($this->getPath())) {
  			$this->deleteCacheEntries();
  			self::unsetInstance($this->getPath());
  		}
  		else {
  			throw new FilesystemFileException("Delete of file '{$this->getPath()}' failed.", FilesystemFileException::FILE_DELETE_FAILED);
  		}
  
  	}
code_tokens: public function delete ( ) { if ( @ unlink ( $ this -> getPath ( ) ) ) { $ this -> deleteCacheEntries ( ) ; self :: unsetInstance ( $ this -> getPath ( ) ) ; } else { throw new FilesystemFileException ( "Delete of file '{$this->getPath()}' failed." , FilesystemFileException :: FILE_DELETE_FAILED ) ; } }
docstring: deletes file and removes instance from lookup array
  @throws FilesystemFileException
docstring_tokens: deletes file and removes instance from lookup array