Season 2 pounds of chicken thighs all over with 1 tablespoon of Cajun seasoning, salt and black pepper. Heat 1 tablespoon of oil in a large Dutch oven over medium-high heat and brown the chicken in batches, 4 to 5 minutes per side, until deep golden. Transfer to a plate. Add 12 ounces of sliced andouille sausage to the same pot and cook 3 to 4 minutes, stirring, until the edges caramelise and the fat renders. Transfer the sausage to the plate with the chicken, leaving the drippings in the pot.
Lower the heat to medium. Pour off all but 2 tablespoons of the drippings, then add 3/4 cup of vegetable oil. When the oil shimmers, sprinkle in 3/4 cup of flour all at once and stir immediately with a flat wooden spoon, scraping the bottom and the corners. Stir constantly for 25 to 35 minutes, until the roux is the colour of dark chocolate and smells nutty like toasted coffee. Do not walk away — if it smells acrid or shows black specks, it is burnt; throw it out and start again.
The moment the roux hits dark chocolate, add 2 cups of diced onion, 1 cup of diced green bell pepper and 1 cup of diced celery all at once and stir hard. Cook, stirring often, 5 to 7 minutes, until the onion is soft and translucent. Add 4 minced garlic cloves, the remaining 1 tablespoon of Cajun seasoning, 2 bay leaves and 1 teaspoon of dried thyme, and cook 1 minute more, until the garlic is fragrant.
Pour in 8 cups of warm chicken stock a ladle at a time, stirring well after each ladle so the roux dissolves smoothly. Return the chicken and andouille to the pot with any juices from the plate. Bring to a boil over high heat, then lower to a gentle simmer and cook uncovered for 1 hour 30 minutes, skimming any fat or foam off the top now and then.
Lift the chicken thighs out of the pot and shred them into bite-size pieces with two forks. Return the shredded chicken to the pot. If using okra, stir in 1 cup of sliced okra now. Simmer 30 minutes more, until the okra has softened into the broth and the gumbo coats the back of a spoon. Taste and add salt, black pepper or a pinch of cayenne.
Take the pot OFF the heat. If using file powder, sprinkle in 1 tablespoon a little at a time, stirring gently — never boil file. Stir in 4 sliced green onions and 1/4 cup of chopped parsley. Fish out the bay leaves. Spoon rice into wide bowls, about 1/2 cup per bowl, and ladle the gumbo generously over the top. Serve hot, with hot sauce on the table.