Replaced if block for skipping code sections in SanitizeTextFiles with regular expression.