Ok,I really did not explain things very well. The declarartion for the container is list<string>
The write function is in an entirely different program than the read function. I was using text mode but when I changed the program to set the path in the code,so that all a person has to do is type the filename in the textbox instead of the path and the filename,the program started leaving off one of the backslashes in the path from Level\\ to Level\ . The read function is in a breakout type game and the filenames are read in one at a time as needed to set the path/filename in the Block objects so the class will know which file to load in for that level. If you need any more of the code just tell me what you need and I will post it. Much Thanks again, Jody Bush