@ptrblck just to let you know I did check the path as you recommend but it is not about the path. I did check the path step by step. It is about the image because the image is DICOM but the extension of the image is “file”.
when I did
import os
print(os.path.exists('C:\\Users\\Neda\\Documents\\imgg'))

it could read the image while it cannot read imgg.dcm