Adding a method to search folders