loop thru files first, then loop thru dicom change elements