public static boolean unifiedDiff(final Path originalFile,
                                      final Path revisedFile,
                                      final boolean colouredOutput,
                                      final int contextLines) {

        return unifiedDiff(
                originalFile,
                revisedFile,
                colouredOutput,
                contextLines,
                createDiffLinesConsumer(
                        FileUtil.getCanonicalPath(originalFile),
                        FileUtil.getCanonicalPath(revisedFile)));
    }
Generates a unified diff of the passed files.

@param originalFile      The original file to diff
@param revisedFile       The revised file to diff
@param colouredOutput    True if you want ascii colour codes in the output
@param contextLines      Number of lines of context before and after each difference
@return True if any differences exist
stroom-util/src/main/java/stroom/util/io/DiffUtil.java