So for example, you have a texture folder named textureFolderA, and you're rendering frame 1, and rendering the diffuse pass. Should it look like this?
textureFolderA001/diffuse.tga?
What exactly are you trying to do?
Imagination is more important than knowledge.