Add the filepath to the autoreload hook callback.