Update process_logs script to update database with multiple files in a single transaction.