Custom Pipeline - One Input file to multiple output files

Hi, I’m new to the whole custom pipeline thingy, but i want to know if there is a straightforward way (or a bodge) where I can take one input file (a tiled map that’s infinite) and output it into multiple files (one for each chunk) so it can be built with the monogame pipeline tool

many thanks
Peter