public function listLocalFiles(){
        $files = array();
        $dir = dir($this->docsHome);
        while (false !== ($file = $dir->read())) {
            if(substr($file, -4)==".pdf"){
                $files[] = array('path'=>$this->docsHome, 'fileName'=>$file);
            }
        }
        return $files;
    }