Sanitized all files for undefined variables in loops.