new file:   dataprep/segment_rawdata.py