VirtualFile (@NotNull ConfigFile descriptor) { final String url = descriptor.getUrl(); final String directoryUrl = url.substring(0, url.lastIndexOf('/')); final VirtualFile moduleDir = VirtualFileManager.getInstance().findFileByUrl(directoryUrl); return createChildData(moduleDir, url.substring(url.lastIndexOf('/') + 1)); }