context.setSourceDocumentId( doc.getString("_id") );
convertGpx(attDescription, context, gpx, doc);
// Save changes to document
approvedContext.saveDocument();
// Upload original file
approvedContext.uploadFile(
attDescription.getAttachmentName()
,attDescription.getMediaFile()