Completed script to parse data from CSV files and load into tables in database.