It looks like you are casting the property to the wrong type.
Change this:
var file = value as HttpPostedFileBase;
to:
var files = value as IEnumerable<HttpPostedFileBase>;
and then you can iterate through each item in the collection and validate each file is the correct size.