Split output to multiple files: (1 file per class)