Support `file` validator

Follow the same file types in `ActionController::Parameters::PERMITTED_SCALAR_TYPES` in [StrongParameters](https://github.com/rails/strong_parameters/blob/master/lib/action_controller/parameters.rb#L143)