validation for file changed