let segs_to_string segs = String.concat "/" segs