successfully storing the table in table.txt