This method takes a filename that may contain wildcards eg c:\*.* and will return the first filename that matches this specification.