@classmethod
def writesummaryitems(cls, filename, *args, **kwargs):
    with open(filename, 'w') as f:
        f.write((cls.summaryitemsstring(*args, **kwargs) + '\n'))
@classmethod
def writesummaryitems(cls, filename, *args, **kwargs):
    with open(filename, 'w') as f:
        f.write((cls.summaryitemsstring(*args, **kwargs) + '\n'))