Async writing of output file added