Effect of Surface Roughness on Magnetic Properties of Films