extended file search.
junit tests added for it.