Converting csv files to sql insertions