VirtualFile (@NotNull String path, @NotNull EnvironmentAwareHost hostInfo) { final String fullFilePath = hostInfo.getFileSystemHostId() + path; return myFileCache.computeIfAbsent(fullFilePath, s -> { String content; try { content = getFileContent(hostInfo, path); } catch (IOException e) { LOG.warn("can't read file", e); return null; } if (content == null) { return null; } return new LazyAttachVirtualFile(fullFilePath, content); }); }