Adding output file for AbstractFactory