This does the same: FileUtils.readFileToString(file)