@@ -0,0 +1,681 @@
+import java.io.*;%0Aimport java.util.*;%0A%0Apublic class Main %7B%0A%0A    public static String filename = %22data.txt%22;%0A%0A    public static void main(String%5B%5D args) throws FileNotFoundException, UnsupportedEncodingException %7B%0A%0A        PrintWriter writer = new PrintWriter(filename, %22UTF-8%22);%0A        writer.println(%22The first line%22);%0A        writer.println(%22The second line%22);%0A        writer.close();%0A%0A        byte%5B%5D byteArray = null;%0A%0A        HashInterface mode = new EncoderMD5();%0A        try %7B%0A           byteArray = mode.encode(new File(filename));%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A%0A        System.out.println(Arrays.toString(byteArray));%0A    %7D%0A%0A%7D%0A

Add file support.