For KML files in path details there is "Layer Show Type" field.
If you set it to "Zoom" - in this case map will be zoomed and centered for this path.
But it will correct work only for one KML file per map.
If map will have more then one KML file with this active option - the last will apply.
I don't calculate borders for map (to display all placemarks, paths ...)