Yep a lot of passenger rail lines were turned into freight only lines in the mid 20th century. Alas even a lot of those freight lines are being abandoned now. Rail infrastructure is the kind of thing that is much easier and cheaper to maintain than it is to get rid of and then build anew.