async def METHOD_NAME(self, f):
    """
    Loads a flow
    """
    if (
        isinstance(f, http.HTTPFlow)
        and len(self.options.mode) == 1
        and self.options.mode[0].startswith("reverse:")
    ):
        # When we load flows in reverse proxy mode, we adjust the target host to
        # the reverse proxy destination for all flows we load. This makes it very
        # easy to replay saved flows against a different host.
        # We may change this in the future so that clientplayback always replays to the first mode.
        mode = ReverseMode.parse(self.options.mode[0])
        assert isinstance(mode, ReverseMode)
        f.request.host, f.request.port, *_ = mode.address
        f.request.scheme = mode.scheme
    for e in eventsequence.iterate(f):
        await self.addons.handle_lifecycle(e)