For apple pie filling, take butter in a saucepan,add diced apples to it & cook it for 15-20 mins on medium heat, once apples become little soft add both sugars & again cook it for 10min, you will see that apples start to caramelize after sometime, then add cinnamon & clove powder & cook it for another 10 mins till a thick filling is ready.