CAS consumer writes back into original file