This will work If I want to restrict the uploads.Again sorry for not
sharing this earlier, What I'm trying to achieve is that when user
clicks on attach button a file explorer should open and by default some
file types should be visible.So, I'm not adding the file types just to
verify the uploads but the main agenda is to have those files already
visible on the explorer window when attach button is clicked.