del segment_main file