Updated to add output file name