Adding file writing with previous commit