build a directory with : 1- subdirectory with founded files. 2- index file contains a list of a file present in a subdirectory and other information