Looks like we need a shortcut version of FileUtils.readAsText, since this seems to be the quickest way to get the contents of a file. Unfortunately, it creates a whole, unused Document object. This should use FileUtils.readAsText as on line 94 of the same file.