String sql = readFile(f);
sql = sql.replaceAll("--[^\n]+\n", "\n");
String[] stmts = sql.split(";");
Pattern p = Pattern.compile("\\s*DROP TABLE IF EXISTS `([^`]+)`");
for (String string : stmts) {
Matcher m = p.matcher(string);
String sql = readFile(f);
sql = sql.replaceAll("--[^\n]+\n", "\n");
String[] stmts = sql.split(";");
Pattern p = Pattern.compile("\\s*DROP TABLE IF EXISTS `([^`]+)`");
for (String string : stmts) {
Matcher m = p.matcher(string);