Lay out the pastry on a large board and brush with the egg. Scatter two thirds of the cheese over one half of the rectangle, leaving a narrow border round the edges. Scatter the thyme leaves over the cheese, season with sea salt and black pepper and fold over the remaining pastry half to enclose. Lightly roll with a rolling pin to seal.
Brush the surface with the egg and scatter over th