Achieving ACID transactions with common files