write fbp file