add file generator (makeshift autoconf)