read row to row from a file