Closed file properly
Added graph-connectedness limitation warning