modify index for a read function and start some test files