@@ -0,0 +1,678 @@
+package com.andrewdacenko;%0A%0Aimport java.io.IOException;%0Aimport java.nio.charset.Charset;%0Aimport java.nio.charset.StandardCharsets;%0Aimport java.nio.file.Files;%0Aimport java.nio.file.Paths;%0A%0Apublic class Main %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        try %7B%0A            String file = readFile(%22triangles.json%22, StandardCharsets.UTF_8);%0A            System.out.println(file);%0A        %7D catch (IOException e) %7B%0A            System.out.println(e.getMessage());%0A        %7D%0A    %7D%0A%0A    static String readFile(String path, Charset encoding) throws IOException %7B%0A        byte%5B%5D encoded = Files.readAllBytes(Paths.get(path));%0A        return new String(encoded, encoding);%0A    %7D%0A%7D%0A

read file #3