Electrical properties of thin films