line to path