code: public static List<String> linesFrom(InputStream is) {
          ArrayList<String> lines = new ArrayList<String>();
          for (String line : new LineReader(is)) {
              if (line.length() > 0 && !line.startsWith("#"))
                  lines.add(line);
          }
          return lines;
      }
docs: Empty lines and lines starting with # are skipped.
  
  @return a list of lines as Strings from this file