Complex sentence: When they discover they no longer can communicate even to argue, they make an effort to salvage their relationship through counseling, but when their situation doesn't improve, they file for divorce.
Split into simpler sentences: When they discover they no longer can communicate even to argue, they make an effort to salvage their relationship through counseling. But when their situation doesn't improve, they file for divorce.