Created async fileWrite. Added manual file cleanup via tmp callback.