Most long distance trains have a restaurant café where you can buy snacks or a meal for your journey but if you do not feel for train food you can of course bring your own, even a bottle of wine if you want to really be in keeping with the French, as there are of course no rules against drinking wine and eating cheese ...