cleaning up files and validating with ZAT