key files are added into the index
some changes related to XYw