Added logging of the output file to stdout