Fold functions to create index files
An Index fold creates an Index page based on all pages to index and saves it to a given file path