New file writing and multi-threading logic, improved performance and reduced dropping of data packets.