private Map<String, SQLFileInfo> initializeSQLFiles() {
HashMap<String, SQLFileInfo> results = new HashMap<String, SQLFileInfo>();
for (Pair<String, IFile> pair : _module.getFileRepository().findAllFilesByExtension(".sql")) {
String fileName = pair.getFirst();
IFile sqlFil = pair.getSecond();
for (DatabaseImpl db : _typeDataByNamespace.get().values()) {
if (sqlFil.isDescendantOf(db.getDBData().getDdlFile().getParent())) {
String queryName = fileName.substring(0, fileName.length() - ".sql".length()).replace("/", ".");
results.put(queryName, new SQLFileInfo(queryName, db, sqlFil));
break;
}
}