reads paths to images and videos from osc