Consistent naming for relocation table
Using python's 'with' when manipulating file