File InputFilterSpecification need "type" key

#5050: ensure that file inputs have type key in custom input filter specification