If I file a divorce, does that mean that I can’t change my mind?

No, you can dismiss a divorce action at any time. You may have to obtain court approval if a final hearing has been scheduled, but generally you can dismiss it at any time.