Mechanics of thin film systems and the impact of external factors on underlying function