python script to grab apn from csv file