created empty indexer files and modified some code in index writer