Text this: An X-Ray Technique for Evaluating the Structure of Films for Device Applications