Document demux