I had a really weird error in a file saving routine, whereby a txt file is saved to Game.SaveDirectory.
The error was my fault in the sense that in saving the value in project manager I hanve included an extra space in the Name field or so I concluded. In actuality I had not, and that the extra space was included in the Caption reference, so that the sav directory was taking the value from the caption field rather than the name of the program.