The frame was apparently made for touring. There is evidence of a generator having been clamped on the left fork blade ...
... and a wire for the rear light is routed through the frame. In from the generator via a hole in the down tube ...
... routed through the BB shell, using some sort of housing ...
... and out again at the rear on the bottom of the left chain stay, to be taped to the mudguard stay, and finally connected to the rear light: