c
seperate folders for reading and writing index