List<VirtualFile> (@NotNull List<? extends Path> paths) { return paths.stream().map(root -> LocalFileSystem.getInstance().findFileByNioFile(root)).filter(State::isValid).collect( Collectors.toList()); }