Finite size effects in patterned magnetic permalloy films