code: def list_records(self, file_const=None):
          
          for r in self._dataset.files:
              if file_const and r.minor_type != file_const:
                  continue
              yield self.instance_from_name(r.path)
docs: Iterate through the file records