generate csv as a grid task