Why don't include this filter in the for range and avoid the if in next line? I mean, to use something like that in line 94:

```
for FILE in $(find $SRC_TOP/test/ -name "*.json" | grep -v '\.invalid\.json')
```