Changed resume option to append to existing file instead or overwriting