Nows uses 2 files for indexing, and works correctly.