Text this: Thin film analysis by x-ray scattering