Adding files before doing recurssion