Logic for downloading and uploading bulk annotation
bulkAnnot(input, output, session, dataset_name, pdata)