Hi Ravi Charan,
You can refer to Native file documents module in Mendix Marketplace : https://marketplace.mendix.com/link/component/114252
Use the openDocumentPicker Java script action in a Nanoflow, then call the saveToMendixFileDocument java script action to store your file. And finally synchronise the object to the server using the synchronise action.