template for loading retrieved csv data into db