The reason that conditional existed was in order to avoid a Nil error when comparing `file` to `nil`.