fixed with open('out.coords' % self.workID, 'r') as fh: