This script finds the master page and creates as many pages with that master page as the number of records in a VALID csv file and creates documents by importing csv data. Each page of the document contains data corresponding to a tuple in the csv file.