split file by time