the compiler gets confused about base  bindonce storefiles  policy path  policy blob with error message base bind h note  candidate function template not viable  requires single argument  closure but arguments were provided i d have to use  base  bindonce storefiles  std  map base  filepath  std  string policy path  policy blob which is kind of ugly 