I have a flat text file of which here is an example line: sample 1 : {Image1} blah {image2} blah. sample 2 : blah {Image1} blah sample 3 : blah blah sample 4 : {Image1} blah (each line may be different) With Image1 and Image2 which represents the name of the image file in the Images of the project.