Index: /issm/trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.m
===================================================================
--- /issm/trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.m	(revision 16268)
+++ /issm/trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.m	(revision 16269)
@@ -23,5 +23,11 @@
 		error(['SetMarineIceSheetBC error message: ice front file ' icefrontfile ' not found']);
 	end
-	incontour=ContourToMesh(md.mesh.elements,md.mesh.x,md.mesh.y,icefrontfile,'node',2);
+	[path,name,ext]=fileparts(icefrontfile);
+	if strcmp(ext,'.shp'),
+		contours=shpread(icefrontfile);
+	elseif strcmp(ext,'.exp'),
+		contours=expread(icefrontfile);
+	end
+	incontour=ContourToMesh(md.mesh.elements,md.mesh.x,md.mesh.y,contours,'node',2);
 	vertexonicefront=double(md.mesh.vertexonboundary & incontour);
 else
