The suspicious density in your right upper lobe can be a consolidation due to infection like pneumonia; it can be Tuberculosis
in the right upper lobe. It can be fibrosis
due to smoking
It is definitely not because of dirt going on to the film.
The doctor who X-rayed you can explain you better about the finding.
Hope this helps.