Splitting the text backup file into layer groups