I am trying to assign a thread for each directory and file that is found in a target folder.
pthread_t ids[10]; int INDEX; void* searchRecursively(void *arg){