JsonStringMap<CodeBlock> codeBlockMap = codeGraph.getCodeBlockMap();
JsonArray<String> keys = codeBlockMap.getKeys();
for (int i = 0; i < keys.size(); i++) {
String key = keys.get(i);
CodeBlock fileCodeBlock = codeBlockMap.get(key);
SyntaxType fileMode = SyntaxType.syntaxTypeByFileName(fileCodeBlock.getName());
if (mode.equals(fileMode)) {
FileIndex fileIndex = new FileIndex(fileCodeBlock, new PathUtil(fileCodeBlock.getName()));
fileIdToData.put(fileCodeBlock.getId(), fileIndex);
String filePath = fileIndex.path.getPathString();