Extract bucket, counter, index, etc to different files