Extract Validator in Another File