Pass the filepath to the reload hook callbacks