adding file in each directory