closed file on reset