public function extfile($path){
        $rtn["fullfilename"] = substr(strrchr($path, "/"), 1);
        $rtn["ext"] = substr(strrchr($path, "."), 1);
        $rtn["filename"] = substr($rtn["fullfilename"], 0, -(strlen($rtn["ext"])+1));
        return $rtn;
     }