Crystallization of amorphous carbon thin films in the presence of magnetic media