add append for output to file