stripSegmentName
Strips the segment name out of the given file name. If you used .segmentFileName or .fileNameFromGeneration to create your files, then this method simply removes whatever comes before the first '.', or the second '_' (excluding both).
Return
the filename with the segment name removed, or the given filename if it does not contain a '.' and '_'.