Also note a key difference between the for loop you proposed and the one schneidz used:
for FILE in $(ls $DIREC*.dcm)
for FILE in $DIREC*.dcm
While for most
files these two approaches are interchangeable, if any of the files have a space in them, the first approach (parsing the output of ls) will break, while the second approach (direct globbing) will not.