splitFile

fun splitFile(filePath: String, events: JSONArray)

Split one file to two smaller file This is used to handle payload too large error response