Add array with extensions to exclude
Add function to check if file should be excluded
Modify _doSearch to exclude unwanted files