Edits old mocha files