Update agreement file validation, and fix establishments validations.