accept uploaded files that are base64 encoded