Seems to be doing everything right.

Remove the gen_file option because there's no need.