creating method for reading csv outputs back into another database