Original: The line was re connected to the mainline at Wareham, Dorset along a stretch of the branch line that had previously only remained open to freight traffic until 2005.
Simplified: This had previously only remained open to freight traffic until 2005.