I have one created one folder called "MYFOLDER" inside my folder in have one pdf file test.pdf. 

I have one button named browse and the textfield. As soon as I click on the browse button I need to navigate through the folders and select the test.pdf file (Like GMAIL Attachment). After selecting particular file I need to set the file path in the text field. 

How to do that? 

Thanks in advance.