pass the filename as an optional parameter to the hook callback
release 0.1.4