public function setFileName($filename)
    {
        $this->load();
        $this->filename = $filename;
        $this->io = new Real($filename);
    }
public function setFileName($filename)
    {
        $this->load();
        $this->filename = $filename;
        $this->io = new Real($filename);
    }
public function setFileName ( $ filename ) { $ this -> load ( ) ; $ this -> filename = $ filename ; $ this -> io = new Real ( $ filename ) ; }
Sets new filename

@param string $filename
Sets new filename