check for selected file name using regular expression

Sometimes it is required to check if the selected files' names are valid or not according to certain rule. It will be easy to do so if there is a check for file name in the FilesAdded event callback that is called right after the user chooses any file.