new readlines methods in the file module