code: private List<String> loadRenameFile(URL url) throws IOException {
          List<String> lines = new ArrayList<String>();
          BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream(), Charset.forName("UTF-8")));
          try {
              String line;
              while ((line = reader.readLine()) != null) {
                  String trimmed = line.trim();
                  if (!trimmed.isEmpty() && !trimmed.startsWith("#")) {
                      lines.add(trimmed);
                  }
              }
          } finally {
              reader.close();
          }
          return lines;
      }
docs: loads a single rename file