I was wondering if it is possible to filter files that are shown to user when he tries to upload file. Googling didn't help, it looks like everybody is rather concerned with file type validation only. Here's a picture to give a better idea of what I mean: https://i.stack.imgur.com/4V0Zb.jpg (sorry, don't have enough rep to post picture)
There was a similar question on stack overflow, but it is for c#: Filter File extension With FileUpload