commit function writes file structure
update mocha commits to use commitBody