Pipeline for making psql insertable csv files ready