clear out file write contents
update version