how to compare file to table data