mapDatasetToPath() method could return only one InputStream now. It should be extended to return a list of Inputstreams.