How to push image files into an android device?

I am trying to push a QR image into my testing device using Appium’s driver.push method. I am using Appium with python client, after running code I can see a file pushed into my destination path but I am not able to open that image file

My sample code:

dest_path = ‘/storage/emulated/0/Download/photo.jpg’
data = bytes(’–Base64 data of my test QR image’, ‘utf-8’)
self.driver.push_file(dest_path, base64.b64encode(data).decode(‘utf-8’))

Not sure whether my file is uploaded as an image file or text file, how can I fix this?

You uploaded file to phone but system does not know it. You need dig somewhere to refresh device storage.