adding old file removal to distributed example.