docs: public static List<DrMemoryError> parse(File file, String charset) {
  
      List<DrMemoryError> result = new ArrayList<>();
  
      List<String> elements = getElements(file, charset);
  
      for (String element : elements) {
        Matcher m = RX_MESSAGE_FINDER.matcher(element);
  
        if (m.find()) {
          DrMemoryError error = new DrMemoryError();
          error.type = extractErrorType(m.group(1));
          String[] elementSplitted = CxxUtils.EOL_PATTERN.split(element);
          error.message = elementSplitted[0];
          for (String elementPart : elementSplitted) {
            Matcher locationMatcher = RX_FILE_FINDER.matcher(elementPart);
            if (locationMatcher.find()) {
              Location location = new Location();
              location.file = locationMatcher.group(1);
              location.line = Integer.valueOf(locationMatcher.group(2));
              error.stackTrace.add(location);
            }
          }
          result.add(error);
  
        }
      }
  
      return result;
    }