With digital, when you change the ISO you're effectively changing the sensitivity of the sensor. You can do this individually on a frame-by-frame basis. Also, with digital, you want to avoid overexposure because once you blow the highlights you have nothing there. That's why many will shoot at high ISO and high shutter speeds: less chance of overexposure. In postprocessing you can get the underexposed image to look right.
Film --negative film, not positive/reversal/transparency film-- is like the opposite of digital. The sensitivity is for the whole roll because you're developing the whole roll the same way. Negative film can tolerate a fair bit of overexposure (one web site had an experiment showing color film overexposed up to 8 stops and still being usable). You don't want underexposure because if the shadow detail didn't make it onto the negative then it's just not there. So, with negative film it's common to choose a slightly lower ISO than the film's actual speed in order to gain that +1 stop or so of overexposure (or just choose your camera settings for overexposure).
So: both dark and bright? You can use Ilford HP5+ at 400 for the dark scenes and still have reasonable (hand holdable) shutter speeds and maybe apertures of f/4 or f/2.8 at the worst. Then, having the same roll in the camera when it brightens up, just use faster shutter speeds and narrower apertures - I'll bet you won't overexpose by much and, if you do, it's not really a big problem when that negative gets printed.