As I read the proof of Theorem 7.4.1 in Rick Durrett: Probability: Theory and Examples:

I am confused about why a step is possible. The theorem with the proof is given in the linked picture. $T_a = \inf \{s \ge 0 \mid B_s = a\}$ is the first hitting time of a standard Brownian motion $B = (B_t)_{t\ge 0}$. $P_x$ is defined as $$ P_x(B_{t_1} \in A_1,\dots B_{t_n} \in A_n) := P(B_{t_1}+x \in A_1,\dots B_{t_n}+x \in A_n), $$ where $0 \le t_1 < \cdots < t_n$, $n\in \mathbb N$. $E_x(\cdot)$ denotes the corresponding expectation value. $\theta_s$ is the shift transformation. I can follow all the steps shown in the picture, without these one: Why can we pull out the conditional expectation in the last step of the last equation: $$ E_0 \left(\prod_{i=1}^{n-1} F_i E_0(F_n \vert \mathcal F_{T_{a_{n-1}}}) \right) \stackrel{?}{=} E_0 \left(\prod_{i=1}^{n-1} F_i \right) E_0(F_n) $$ Thank you for the answer :)
The answer to my questenion is given in the comments:
In the first equal sign of the last equation, it is used that $F_n$ is $\mathcal F_{T_{a_{n-1}}}$ measurable. Then in the second step, the independence of $F_n$ and $\mathcal F_{T_{a_{n-1}}}$ is used.