only create <objecttype>.csv file is there are records to be saved
initial user script Hooks support