Added file output option to ofx example code.