update FileUploadValidator

comments file extension check function