batch handlers and csv