Preparation of a biocompatible magnetic film from an aqueous ferrofluid