Move all mimes into extended method of validator.
Use that validation method.