Atom trapping with a thin magnetic film