Added collection parameter with ability to generate multiple files from a collection prismic query