allow custom code run after a file sync