Measurements of the W production cross sections in association with jets with the ATLAS detector