List<VirtualFile> () { List<VirtualFile> result = new ArrayList<>(); for (String path : getManagedFilesPaths()) { VirtualFile f = LocalFileSystem.getInstance().findFileByPath(path); if (f != null && f.exists()) result.add(f); } return result; }