Collection<File> (@NotNull String path, @Nullable FileFilter filter) { File[] files = null; try { files = new File(bundleFile, path).listFiles(filter); } catch (SecurityException ignore) { } return files != null && files.length > 0 ? Set.of(files) : Collections.emptySet(); }