Check out this post: Making a mapdot
and then use the pertinent parts of this one: Inserting a mapdot file