code: def read_meta(self, f):
          
          if not isinstance(f, BacktrackableFile):
              f = BacktrackableFile(f)
  
          try:
              (name, value) = self.read_meta_line(f)
              while name:
                  name = (name == 'nominal_offset' and 'timestamp_rounding' or
                          name)
                  name = (name == 'actual_offset' and 'timestamp_offset' or name)
                  method_name = 'get_{}'.format(name)
                  method = getattr(self, method_name, None)
                  if method:
                      method(name, value)
                  name, value = self.read_meta_line(f)
                  if not name and not value:
                      break
          except ParsingError as e:
              e.args = e.args + (f.line_number,)
              raise
docs: Read the headers of a file in file format and place them in the
          self.meta dictionary.