added wildcard support for file mimeType validation