The bot could present the buttons but from the point where the user clicks the upload this would need to be handled by your UI (React component or UI of your choice). Also, you would not be uploading the file to Rasa (this is not a chatbot feature). You’ll need another service to handle the file.
If the file is related to your bot dialog, your UI could issue an intent possibly with an entity set to the file name or other metadata associated with the uploaded file. You might send the intent on completion of the upload to continue the dialog.