VirtualFile (final String filePath) { @NonNls final String path = VfsUtilCore.pathToUrl(filePath.replace(File.separatorChar, '/')); return ReadAction.compute(() -> VirtualFileManager.getInstance().findFileByUrl(path)); }