In the food processor, combine the flour, sugar and salt. Add the butter and pulse for a few seconds at a time until the mixture forms coarse, pea-sized crumbs. Add the water and the egg yolk, and pulse until the ingredients are just blended. Add cold water if needed. Remove the dough from the food processor and shape into a disc.