Make it possible to use file in auto response callback