removed completely extraneous sorting of the input values; renamed the directory walking function in prep for some performance testing