Samples for stack overflow answer http://stackoverflow.com/questions/15606990/updating-table-rows-based-on-txt-file