Change default csv file location
Added docstrings
Remove unused code
Do by-state filtering at the right time