/**
  * Removes localfile on ending of the callback.  
  */
 public function onUnload($param)
 {
     if ($this->getPage()->getIsCallback() && $this->getHasFile() && file_exists($this->getLocalName())) {
         unlink($this->getLocalName());
     }
     parent::onUnload($param);
 }