Add index file reading