Make the script that generates domain-type-example table save results to a file when necessary.