I am not exactly sure the mechanics behind it, but If you file using Foreflight, you should get email updates about your plan and routing. The first message will tell you that the plan has been acknowledged by ATC. Sometime between then and your expected departure time you should get another email with your expected routing. That message will also ask if you want the routing loaded onto the map in Foreflight.