Theory for impurity scattering in a superconducting film on a normal substrate