Splitting formatter and writer