The overhead contact line destroyed during the fire on a freight train has been renovated.