add MakeThumbnail utility file