use scalax.file.Path.lines to avoid write access error