Searches files using wildcard characters in a folder.
WildCardFileSearch searches files using wildcard characters in a folder.
Pathname = A file path including file search criteria that can contain a wildcard character. For eg:
PriorFilename = Name of the existing file in the folder. If we pass empty string argument, then the function returns the first file which matches the criteria
Use WildcardFileSearch to search files starting with a P.