Takes attribute table from a shapefile and exports it to a user specified directory