def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def format_date(date):
            return date.replace(tzinfo=datetime.timezone.utc, microsecond=0).isoformat()