data processing: reading CSV files and sqlite3