Is there an opportunity to use ```inspect.getfile(self)``` here?