get fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb') IOError: [Errno 2] No such file or directory: './data/mask_vt.nii.gz' i.e. there is no file mask_vt.nii.gz in ./data directory thanks