Tweak the app to call the file callback