Measurement of the cross section for the production of a W boson in association with b-jets in pp collisions at with the ATLAS detector