set iface = 0 when readin_file fails