try selecting lamp and then type /printprops, it might tell you which attach file it uses.