adding xmp_fullpath and data struct