fyi I think you can IOUtils.closeWhileHandlingException(files) since its Iterable...