modified to work with new repository structure. now recurses through
subdirectories