@@ -0,0 +1,1448 @@
+package org.fakekoji;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.File;%0Aimport java.io.FileReader;%0Aimport java.io.IOException;%0Aimport java.io.PrintWriter;%0Aimport java.net.URL;%0Aimport java.nio.file.Path;%0A%0Apublic class Utils %7B%0A%0A    private static final ClassLoader classLoader = Utils.class.getClassLoader();%0A%0A    public static String readResource(Path path) throws IOException %7B%0A        return readFile(classLoader.getResource(path.toString()));%0A    %7D%0A%0A    public static String readFile(File file) throws IOException %7B%0A        final StringBuilder content = new StringBuilder();%0A        final FileReader fileReader = new FileReader(file);%0A        final BufferedReader bufferedReader = new BufferedReader(fileReader);%0A        String line;%0A        while ((line = bufferedReader.readLine()) != null) %7B%0A            content.append(line);%0A        %7D%0A        bufferedReader.close();%0A        fileReader.close();%0A        return content.toString();%0A    %7D%0A%0A    public static String readFile(URL url) throws IOException %7B%0A        return readFile(new File(url.getFile()));%0A    %7D%0A%0A    public static void writeToFile(Path path, String content) throws IOException %7B%0A        writeToFile(path.toFile(), content);%0A    %7D%0A%0A    public static void writeToFile(File file, String content) throws IOException %7B%0A        final PrintWriter writer = new PrintWriter(file.getAbsolutePath());%0A        writer.write(content);%0A        writer.flush();%0A        writer.close();%0A    %7D%0A%7D%0A

Create Utils class for reading/writing to files