Asynchronous file logger