Use List<File> instead of Set<File>.