@@ -0,0 +1,894 @@
+package com.greenyetilab;%0A%0Aimport com.greenyetilab.utils.log.NLog;%0A%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.io.InputStreamReader;%0Aimport java.io.OutputStream;%0A%0A/**%0A * Various file utilities%0A */%0Apublic class FileUtils %7B%0A    public static String readUtf8(final InputStream in) throws IOException %7B%0A        InputStreamReader reader = new InputStreamReader(in, %22UTF-8%22);%0A        StringBuilder sb = new StringBuilder();%0A        char%5B%5D buffer = new char%5B1024%5D;%0A        while (true) %7B%0A            int length = reader.read(buffer);%0A            if (length == -1) %7B%0A                break;%0A            %7D%0A            sb.append(buffer);%0A        %7D%0A        return sb.toString();%0A    %7D%0A%0A    public static void writeUtf8(final OutputStream out, String text) throws IOException %7B%0A        byte%5B%5D buffer = text.getBytes(%22UTF-8%22);%0A        out.write(buffer);%0A        out.flush();%0A    %7D%0A%7D%0A

Add utils to read and write strings from/to files