Gen files from bnf.