extracted a method
Pulled two functions into a LineUtils module with two free functions.