Added searchFiles method