added a status check for from-file success

on file:/// the status code is, weirdly, 0 rather than 200. Added a check for either 0 or 200, with === rather than == testing to ensure that a status `false` doesn't trigger the `status == 0` clause (because coercion)