add image magic file