The structure and properties of ferromagnetic films