Implemented the functions in the IO.File.Lines module.