Heat some oil over medium-high heat in a large skillet.
Saute onions and garlic until onions are soft and translucent, about 4 minutes.
Add spices and stir to mix. Cook for 2 to 3 minutes.
Add black beans and chicken and season with salt and pepper. Cook until black beans are heated through, about 5 minutes; then, remove from heat and let the mixture cool.
Add cilantro and stir well.
Preheat the oven to 375 degrees F. Lay out a sheet of filo dough on a lightly floured surface.
Flour the top of the dough and roll it out until it is about 1/16-inch thick and about 12 inches by 16 inches.
Trim edges to size, if necessary. Cut 4-inch squares crosswise and lengthwise making 12 (4 by 4-inch) squares. Make sure the squares are well floured and stack them in a little pile.
To form the empanadas, fill a little dish with some room-temperature water. Imagine each square you work with is separated in half by a diagonal. Place a couple of tablespoons of filling in the top half. Dip a finger into the water and moisten the edges of the top half with water. Fold the bottom half to meet the edges of the top half.
Use a fork to pinch and seal the edges.
Lightly brush the tops with vegetable oil.
Place finished pockets on a nonstick baking sheet and bake for about 12 to 14 minutes, or until golden brown and puffy.
For the pineapple salsa, combine the chopped tomatoes, pineapple, garlic, jalapeno and scallions in a medium bowl. Mix well. Add lime juice, sugar, and salt, to taste. Toss well.
Serve the empanadas with the pineapple salsa with the Chicken Empanadas.