The measurement of scattering losses in thin dielectric films