writes to 2 csv files: 1 - ABAB, 2 - content