Add a function add_autofiles().