Make idfile optional.