5. In the sequence $\left\{a_{n}\right\}$, $a_{1}=5, S_{n-1}=a_{n}\left(n \geqslant 2, n \in \mathbf{N}_{+}\right)$, the general term formula for $S_{n}$ is ( ).
A. $5 \cdot 2^{n}$
B. $5 \cdot 2^{n}-5$
C. $5 \cdot 2^{n-1}$
D. $5 \cdot 2^{n+1}$