New code. similarity. Removed directories from indexing.