code to generate index of YAML files is implemented