read_lines function

Read lines from the file