generate xml file defining streams from preload