Problem is there's a lot in between all your major population centers, and you can't run a rail line to (or in many cases, even close to) every mom-and-pop store. Also, many of these trucks will haul cargo for multiple locations - custom windows for three different stores and two construction sites for instance. No rail line is efficient at delivering small loads.