Builder: Implement output to file
Test: Port to new Builder interface