public boolean executeDBScripts(File file, Statement stmt) throws IOException,SQLException {
		boolean isScriptExecuted = false;
		try {
			BufferedReader in = new BufferedReader(new FileReader(file));
			String str;
			StringBuffer sb = new StringBuffer();
			while ((str = in.readLine()) != null) {
				sb.append(str + "\n ");
			}
			in.close();
			stmt.executeUpdate(sb.toString());
			isScriptExecuted = true;
		} catch (Exception e) {
			System.err.println("Failed to execute " + file.getName() +". The error is "+ e.getMessage());
		}
		return isScriptExecuted;
	}