A plaintiff filed a complaint in state court based on a negligence claim arising from an accident. Before the defendant responded to the complaint, the plaintiff voluntarily filed a notice of dismissal. Subsequently, the plaintiff filed a complaint in federal district court based on diversity jurisdiction, asserting the same claim. The defendant filed a motion to dismiss for improper venue, and the court denied this motion. Before the defendant filed an answer to the complaint, the plaintiff again voluntarily filed a notice of dismissal. Can the plaintiff later pursue this claim through an action filed in federal court