1. Heat oil over medium heat in frying pan. When hot, add onions, garlic, peppers and chilies. Saute for around 5 minutes.
2. Add saute to tomatoes and season with salt and pepper. Add ingredients to food processor and chop to desired consistency. Add cooked beans and corn in last. Serve warm or chill.