using __file__ instead of inspect.getfile(inspect.currentframe())