The manager of a company planned to distribute a $$50$ bonus to each employee from the company fund, but the fund contained $$5$ less than what was needed.  Instead the manager gave each employee a $$45$ bonus and kept the remaining $$95$ in the company fund.  The amount of money in the company fund before any bonuses were paid was
$\text{(A)}\ 945\text{ dollars} \qquad \text{(B)}\ 950\text{ dollars} \qquad \text{(C)}\ 955\text{ dollars} \qquad \text{(D)}\ 990\text{ dollars} \qquad \text{(E)}\ 995\text{ dollars}$
Let $p$ be the number of people in the company, and $f$ be the amount of money in the fund.
The first sentence states that $50p = f + 5$
The second sentence states that $45p = f - 95$
Subtracing the second equation from the first, we get $5p = 100$, leading to $p = 20$
Plugging that number into the first equation gives $50\cdot 20 = f + 5$, leading to $f = 995$, which is answer $\boxed{E}$.