New approach to optical analysis of absorbing thin solid films.