add file index in public