new_contents: import h5py
  from databroker import Broker
  from databroker._core import register_builtin_handlers
  
  db = Broker.named('xfm')
  register_builtin_handlers(db.fs)
  
  
  # srx detector, to be moved to filestore
  from databroker.assets.handlers import Xspress3HDF5Handler, HandlerBase
  
  class BulkXSPRESS(HandlerBase):
      HANDLER_NAME = 'XPS3_FLY'
      def __init__(self, resource_fn):
          self._handle = h5py.File(resource_fn, 'r')
  
      def __call__(self):
          return self._handle['entry/instrument/detector/data'][:]
  
  db.reg.register_handler(BulkXSPRESS.HANDLER_NAME, BulkXSPRESS,
                         overwrite=True)
  
  class ZebraHDF5Handler(HandlerBase):
      HANDLER_NAME = 'ZEBRA_HDF51'
      def __init__(self, resource_fn):
          self._handle = h5py.File(resource_fn, 'r')
  
      def __call__(self, column):
          return self._handle[column][:]
  
  class SISHDF5Handler(HandlerBase):
      HANDLER_NAME = 'SIS_HDF51'
      def __init__(self, resource_fn):
          self._handle = h5py.File(resource_fn, 'r')
  
      def __call__(self, column):
          return self._handle[column][:]
  
  db.reg.register_handler('SIS_HDF51', SISHDF5Handler, overwrite=True)
  db.reg.register_handler('ZEBRA_HDF51', ZebraHDF5Handler, overwrite=True)
  
subject: add db config for xfm