correct handling of the traces "start time"
added parameters to avoid reading the whole file when only a slice is needed