SearchFiles refactord