U.S. freight railroads are projected to spend an estimated $22 billion to maintain and upgrade the nation’s private rail network in 2017.