Texture as array of images
Fixed bugs reading file