add TBfile class and incorporated into img.  looked at limb stuff