On the theory of the domain structure of thin films of magnetically uni-axial materials