Add append option to out_file