split genfile.pl from config.pl