This is an opportunity to show off Groovy’s Collection.inject(Object, Closure). Groovy’s GDK’s File makes reading a file’s contents as a String or as a List of Strings easier than falling off a log.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results