public function open($mode)
    {
        if ($this->handle) $this->close();
        $this->handle = $this->fs->fopen($this->name, $mode);
        return true;
    }
public function open($mode)
    {
        if ($this->handle) $this->close();
        $this->handle = $this->fs->fopen($this->name, $mode);
        return true;
    }
public function open ( $ mode ) { if ( $ this -> handle ) $ this -> close ( ) ; $ this -> handle = $ this -> fs -> fopen ( $ this -> name , $ mode ) ; return true ; }
Opens file's handle
Opens file s handle