code: def get_batch_header_values(self):
          
          lines = self.getOriginalFile().data.splitlines()
          reader = csv.reader(lines)
          batch_headers = batch_data = []
          for row in reader:
              if not any(row):
                  continue
              if row[0].strip().lower() == 'batch header':
                  batch_headers = [x.strip() for x in row][1:]
                  continue
              if row[0].strip().lower() == 'batch data':
                  batch_data = [x.strip() for x in row][1:]
                  break
          if not (batch_data or batch_headers):
              return None
          if not (batch_data and batch_headers):
              self.error("Missing batch headers or data")
              return None
          # Inject us out of here
          values = dict(zip(batch_headers, batch_data))
          return values
docs: Scrape the "Batch Header" values from the original input file