I building a simple flow that take file input and then create the file in SP document library

But when I run the flow, it is successfull but the file is corrupted and looks like this

In file content section, i have seen some blogs where i need to put { content: ''} but it is not working as expected. Also is this works for any file types??
Majorly I will be doing this for PDF , Images, Document, Excel files