code: private void parseFilename() {
  
      // Add additional filtering to discard empty files, or files ending in .crc
      if ((filename != null) && (filename.length() > 0)
          && (!filename.endsWith(".crc"))) {
  
        Matcher matcher = PATTERN.matcher(filename);
  
        if (matcher.matches()) {
      	//  jobTracker = "";
      	  jobid = matcher.group(1);
      	  Matcher confMatcher = CONF_PATTERN.matcher(filename);
      	  if (confMatcher.matches()) {
          	isJobConfFile = true;
          	LOG.debug("Job Conf file  " + filename + " with job id: " + jobid);
          	} else {
          		isJobHistoryFile = true;
          		LOG.debug("Job History file " + filename + " with job id: " + jobid);
          		}
      	  }
        else {
            LOG.info(" file does not match any format: " + filename);
        }
      }
    }
docs: Parse the filename and pull the jobtracker and jobid out of it.