Fixed generator throwing error when lack of output file name