Parse all options before calling the step files generation

The command line options should be taking into account by the generator, in particular the -f option. As it is, the generator is called before setting the parameters, ignoring all of them.