function removeFiles()
 {
     $files = DMInstallHelper::getFiles();
     foreach ($files as $file) {
         JFile::delete($file);
     }
     $folders = DMInstallHelper::getFolders();
     foreach ($folders as $folder) {
         JFolder::delete($folder);
     }
 }