changing filesearch.py for work with new config option