moved file searcher to class. Added specs