inserting file index