updated utils for reading TB files and concatenating them