In a heavy based pan heat half of the oil
Add garlic, onions, pinch of sugar
Stir, cover and simmer gently for 30 minutes
Leave mixture to cool
Preheat oven to 200C (400F)
Mix butter and oil in a pan
Take half a sheet of filo pastry and brush with oil mixture
Place more sheets on top at angles to one another, creating a star shape
Place some onion mix in the center, sprinkle some walnuts and one half of the goats cheese
Season with pepper
Gather the edges of the filo pastry, pinch together and enclose mixture like a parcel, tie with a thyme sprig to secure
Place the parcels on a non stick baking sheet, brush with the oil and bake for 10-15 minutes
Serve immediately