merge local files