implemented jenky readlines() from file.