public function purgeFile($filename)
    {
        if (isset($this->_fileHandlers[$filename])) {
            $this->_fileHandlers[$filename]->close();
        }
        unset($this->_fileHandlers[$filename]);
    }
public function purgeFile($filename)
    {
        if (isset($this->_fileHandlers[$filename])) {
            $this->_fileHandlers[$filename]->close();
        }
        unset($this->_fileHandlers[$filename]);
    }
public function purgeFile ( $ filename ) { if ( isset ( $ this -> _fileHandlers [ $ filename ] ) ) { $ this -> _fileHandlers [ $ filename ] -> close ( ) ; } unset ( $ this -> _fileHandlers [ $ filename ] ) ; }
Purge file if it's cached by directory object

Method is used to prevent 'too many open files' error

@param  string $filename
@return void
Purge file if it s cached by directory object