The source of mass accreted by the central black hole in cooling flow clusters