Directory scanning and indexing files implemented.