I need to read a file from the file system and load the entire contents into a string in a groovy controller, what\'s the easiest way to do that?
the easiest way would be
new File(filename).getText()
which means you could just do:
new File(filename).text