added script to cat ip and site name to new csv file
handle case of empty or bad file