Finished up the read one line function