Add ability to write directly the new configuration file additionally to the generate action.