successful file write