Making loading work with CSV files