public void updateDB(DB db) {
		Statement statement = null;
		File file;
		File newfile;
		Connection conn = db.getConnection();
		try {
			File[] listOfFiles = loadFiles();
			if (listOfFiles.length <= 0) {
				logger.info("No SQL files found ... ");
			}
			for (int i = 0; i < listOfFiles.length; i++) {
				if (listOfFiles[i].isFile() && listOfFiles[i].getName().contains(".sql")  && !listOfFiles[i].getName().contains("completed")) {
					try {
						logger.info("Processing file name: "+listOfFiles[i].getName());
						statement = conn.createStatement();
						List<String> lines = Files.readAllLines(Paths.get("./tenatslist_mod_passwd/"+listOfFiles[i].getName()), Charset.defaultCharset());
						logger.info("Processing records: "+lines.size());
						for (String updateSQL : lines) {
							statement.executeUpdate(updateSQL);
						}
						file = new File("./tenatslist_mod_passwd/"+listOfFiles[i].getName());
						newfile = new File("./tenatslist_mod_passwd/"+listOfFiles[i].getName()+".completed");
						file.renameTo(newfile);
					} catch (Exception e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					} finally {
						if (statement != null) {
							statement.close();
						}
					}
				}
			}
			
		} catch (SQLException e) {
			// TODO Auto-generated catch block
		}
	}