custom mime type added to file validator

Added ability to specify custom mime file in `FileValidator` . Related with #4897