modified to process all kml file sin directory