As her doctors have told you, these shadows at the upper part of the lung besides cancer, can be sign of tuberculosis.
Old healed tuberculosis usually presents as pulmonary nodules in the upper lobes of lungs, seen as shadows at the x-ray picture.
Chest x-ray results are only suggestive, and the final diagnosis is done with lung CT scan or/and lung biopsy.
Best wishes!
Marija