package org.provinggrounds.SevenElevenDoubles;

import java.util.List;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.io.IOException;

public final class MainProgram {

  private static final String helpTextResourceFile = "HelpText";

  public static void main(String args[]) {
    printHelpText();
  }

  private static void printHelpText() {
    System.out.println();
    try {
    List<String> helpTextLines = Files.readAllLines(Paths.get("./resources/" + helpTextResourceFile), StandardCharsets.UTF_8);
    for(String lineOfText : helpTextLines) {
      System.out.println(lineOfText);
    }
    }
    catch(IOException e) {
      System.out.println("Failed to read help text from file: ");
      System.out.println(e);
    }
    System.out.println();
  }
}

@@ -289,16 +289,77 @@
 lpText%22;
+%0A  private static final String RESOURCE_DIR = %22./resources/%22;
 %0A%0A  publ
@@ -559,30 +559,28 @@
 ths.get(
-%22./resources/%22
+RESOURCE_DIR
  + helpT

Move resource directory path into a constant string