This marks the end of an era for a train that has served generations of commuters