I have a multipart file, it will be an image or video, which needs to be chunked for POST request. How can I chunk the file into byte array segments?