lineByLine function

Line-by-line modification of files