If anyone is sure about the impurity of food he/she is not allowed to consume that food. On the other hand if you are taking such food that has been touched by a kafir and you don’t have access to share it then don’t take their food because it would be Israf (wastage) if you throw it into the dustbin.