add Brefile and settings