goveas checking if nii is a file not a dir