def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def teardown(self, **kwargs: Any) -> None:
        """Execute arbitrary post-profiling tear-down steps as defined by subclass."""