Molecular Thin Films: A New Type of Magnetic Switch