Nanocomposite Magnetic Films Assembled from Nanoparticles