code: public static List<String> loadScript(String path) {
          List<String> result = new ArrayList<String>();
          URL url = CassandraUtils.class.getResource(path);
          LOGGER.debug(url.toString());
          LOGGER.info("Loading script from: " + url);
          try (BufferedReader br = new BufferedReader(new InputStreamReader(
                  url.openStream(), "UTF8"))) {
              String line;
              while ((line = br.readLine()) != null) {
                  if (line.length() > 0 && !line.startsWith("#")) {
                      result.add(line);
                  }
              }
          } catch (IOException e) {
              LOGGER.error("IO Exception loading a cql script", e);
          }
          return result;
      }
docs: Load the lines of a CQL script containing one statement per line into a
  list. l
  
  @param path The path of the CQL script.
  @return The contents of the script.