Fixed files index generation: relative paths