My initial question was "should we do that or not?". Do you think we need to validate the file? Before to talk about how to validate the file, we should be sure we actually need such a thing.