test code to index all the files in a folder or wiki line file done by awesome lucene guys