Open the file in binary format in order to support multipart