Write data into monthly result file instead of a single file.