got file upload and download working using base64