Cannot close empty file -- rollingback prev commit