Analysis of thin and thick films