parse one file to get the block of each time slot