String (final List<? extends File> failedFiles) { final StringBuilder result = new StringBuilder(); for (File file : failedFiles) { result.append(file.getPath()); result.append("\n"); } return result.toString(); }