Got rid of the return value of _ensure_file_is_good().