Merge singleimage, imagefolder and video to a file device.