File extension validator

e.g. 
FileExtension({"jpg", "png"})
FileExtension(value = {"jpg", "png"})