Removed unnecessary debug code
Added hooks for customizing loading of CSV files.