def METHOD_NAME(self, key, timestamp, datum_kwargs=None):
    """
    Notify plugins of acquisition being complete.
    When a new acquisition is started, this method is called with a
    key which is a label like 'light', 'dark', or 'gain8'.
    It in turn calls ``generate_datum`` on all of the plugins that have
    that method.
    File plugins are identified by searching for a
    :meth:`~ophyd.areadetector.filestore_mixins.FileStoreBase.generate_datum`
    method that must have the signature ::
       def generate_datum(key: str, timestamp: float, datum_kwargs: dict):
          ...
    Parameters
    ----------
    key : str
        The label for the datum that should be generated
    timestamp : float
        The time of the trigger
    datum_kwargs : Dict[str, Any], optional
        Any datum kwargs that should go to all children.
    """
    if datum_kwargs is None:
        datum_kwargs = {}
    file_plugins = [
        s for s in self._signals.values() if hasattr(s, "generate_datum")
    ]
    for p in file_plugins:
        if p.enable.get():
            p.METHOD_NAME(key, timestamp, datum_kwargs)