This field only allow file extension as jpg or bmp only.
{{userInfoFormGroup.controls.profilePicture.errors.extension.message}}