function _executeSqlStatements($file, $name)
 {
     $db_corrupted = false;
     $path_to_file = '/' . $name . '/db/' . $file . '.sql';
     foreach ($this->plugin_factory->getAllPossiblePluginsDir() as $dir) {
         $sql_filename = $dir . $path_to_file;
         if (file_exists($sql_filename)) {
             $dbtables = new DBTablesDAO();
             if (!$dbtables->updateFromFile($sql_filename)) {
                 $db_corrupted = true;
             }
         }
     }
     return $db_corrupted;
 }