file is now loaded as binary and chunks are converted to base64 just before sending