enforcing stronger validation for restore files