+---------- Testing output to a file ----------+ +---------- Testing output to a file ----------+ +---------- Testing output (append) to a file ----------+ +---------- Testing output (append) to a file ----------+