Delayed write to file (experimental)