adds initial, incomplete, stub code to reindex all files.