public function addFile($name, $data) {
        $file = new File($this->getChild($name));
        $file->write($data);
        return $file;
    }
public function addFile($name, $data) {
        $file = new File($this->getChild($name));
        $file->write($data);
        return $file;
    }
public function addFile ( $ name , $ data ) { $ file = new File ( $ this -> getChild ( $ name ) ) ; $ file -> write ( $ data ) ; return $ file ; }
ADD FILE IN DIRECTORY
@param string $name
@param string $data
@return File
ADD FILE IN DIRECTORY