Smoothness of collapsed regions in a capillarity model for soap films