Hooked customized code. Got file name of self.