I think it is okay to ignore this case for all practical purposes. You will have the problem either way you do it: either change the current directory and relative file names, or get the location of My Pictures folder and use absolute name. When you are working on a directory and the directory has changes, the behaviour is unknown anyways. thanks!