Successfully got all xml files to write to db. Required changing all fields to text instead of string