def comparefiles(importedfile, currentfile, boolean ignorewhitespace = true) { if (isUnix()) { def wsparameter = "-w" if (!ignorewhitespace) { wsparameter = "" } sh """ diff -c ${wsparameter} "${importedfile}" "${currentfile}" """ } else { error "Windows not currently supporting file comparison" } } return this;