Electronic properties of thin films