code: private List<String> loadFromFiles(String fileName) throws Exception {
          List<String> content = new ArrayList<>();
          Enumeration<URL> en = getClass().getClassLoader().getResources(fileName);
          while (en.hasMoreElements()) {
              URL url = (URL) en.nextElement();
              try (InputStream in = url.openStream()) {
                  BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"));
                  String line;
                  while ((line = reader.readLine()) != null) {
                      content.add(line);
                  }
              }
          }
          return content;
      }
docs: loads a file