List<String> diffs = diff.diff(actual, expected);
if (diffs.isEmpty()) return;
throw failures.failure(info, shouldHaveEqualContent(actual, expected, diffs));
} catch (IOException e) {
String msg = String.format("Unable to compare contents of files:<%s> and:<%s>", actual, expected);
throw new FilesException(msg, e);
}
}