If you want to control the Table Rate table shipping module, you would be editing the file:
/includes/modules/shipping/table.php