#!/usr/bin/env bash
cat $1/* | cut -d , -f 1 > $1/last_names.csv.out
cat $1/* | cut -d , -f 2 > $1/first_names.csv.out