def METHOD_NAME(self): # returns SDFRec or None at end of file
    cur = []
    while 1:
        s = self.file.readline()
        if not s:
            return None
        elif s[0:4]==r'$$$$':
            return SDFRec(cur)
        else:
            cur.append(s)