This if/else is not necessary. The ```get_all_generic_methods_filenames``` method already handles the case where ```alt_path == ''```, so just make one simple call:

```
filenames = get_all_generic_methods_filenames(alt_path)
```

(once in that method, ```alt_path``` will end up with a value of ```''``` either way)